]> git.sesse.net Git - vlc/commit
x11: do not pretend that the video window was resized (refs #8696)
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 8 Jun 2013 18:00:05 +0000 (21:00 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 8 Jun 2013 18:00:05 +0000 (21:00 +0300)
commit22b6f35c3c94189efa41a2a84fd3082702908865
tree56bc5d94ed20642c455d16dc7fcf33f5d154d54e
parent281553a223d50e0e3afd7c32b939a1ca80130ec4
x11: do not pretend that the video window was resized (refs #8696)

If the core requests a change of the size of the video window, and
the display plugin returns success, the display configuration stored in
the core goes out of synchronization with the X11 server. This results
in incorrect video placement.

Since it cannot be known if resize will succeed or not (at least not
without patching all window provider plugins to block and cross-check),
just return an error.
modules/video_output/xcb/x11.c