Commit ec2abcf5 authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/x11/xcommon.c: play nice even when there isn't any window manager.

parent e1d934ce
......@@ -1043,6 +1043,10 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
&& (xevent.xexpose.window == p_win->base_window) )
{
b_expose = VLC_TRUE;
/* ConfigureNotify isn't sent if there isn't a window manager.
* Expose should be the last event to be received so it should
* be fine to assume we won't receive it anymore. */
b_configure_notify = VLC_TRUE;
}
else if( (xevent.type == MapNotify)
&& (xevent.xmap.window == p_win->base_window) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment