summaryrefslogtreecommitdiffstats
path: root/video/img_format.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-07-04 02:19:36 +0200
committerwm4 <wm4@nowhere>2014-07-04 02:23:05 +0200
commit4a5cfb4323a276b920ab833ae3409064af58f322 (patch)
tree8ff481af59e2378ecf0292950ae8a25b10704932 /video/img_format.h
parent97f6d7f4ec255f126d76fb6d3bc0d60f0e23f7b6 (diff)
downloadmpv-4a5cfb4323a276b920ab833ae3409064af58f322.tar.bz2
mpv-4a5cfb4323a276b920ab833ae3409064af58f322.tar.xz
x11: avoid obscure behavior when --wid is partially garbage
Cast away the "extra" bits (since apparently Window/XID is always 32 bit unsigned). This is not striclty needed, because you're not supposed to pass garbage to --wid, just because the upper bits are possibly not interpreted. But if you do so, this change increases consistency in behavior and removes a strange behavior that was thought to be a bug. Also see github issue #906.
Diffstat (limited to 'video/img_format.h')
0 files changed, 0 insertions, 0 deletions