]> git.sesse.net Git - vlc/commit
xcb: support for WM_DELETE_WINDOW(WM_PROTOCOLS)
authorErwan Tulou <erwan10@videolan.org>
Fri, 28 Jan 2011 12:03:29 +0000 (13:03 +0100)
committerErwan Tulou <erwan10@videolan.org>
Fri, 28 Jan 2011 18:18:56 +0000 (19:18 +0100)
commit95b63292214d81df212edafc7a228f8ec66d7958
tree049377dd8177bb259ed0ab6fa0c5c9b4960a5a16
parent50efe19c1825f6c8a94097e8d339eb1939e8fda6
xcb: support for WM_DELETE_WINDOW(WM_PROTOCOLS)

When the default window provider is used (dummy, rc, ... interfaces),
rather decide what to do when the user closes the video window than let
the WM blindly destroy it. Till now, this led to an error message, input
dying and the playlist being stopped. For -I dummy, it also meant leaving
vlc hanging since no interface could then be used to stop vlc.

Action taken is to stop vlc, but feel free to change/improve/make it
more configurable if need be.
modules/video_output/xcb/window.c