Commit dc20831c authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/x11/xcommon.c: don't steal events from the owner window.

parent 92c0f930
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Sam Hocevar <sam@zoy.org> * Sam Hocevar <sam@zoy.org>
* David Kennedy <dkennedy@tinytoad.com> * David Kennedy <dkennedy@tinytoad.com>
* Gildas Bazin <gbazin@netcourrier.com> * Gildas Bazin <gbazin@videolan.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
...@@ -1037,7 +1037,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win ) ...@@ -1037,7 +1037,9 @@ static int CreateWindow( vout_thread_t *p_vout, x11_window_t *p_win )
XMapWindow( p_vout->p_sys->p_display, p_win->base_window ); XMapWindow( p_vout->p_sys->p_display, p_win->base_window );
do do
{ {
XNextEvent( p_vout->p_sys->p_display, &xevent); XWindowEvent( p_vout->p_sys->p_display, p_win->base_window,
SubstructureNotifyMask | StructureNotifyMask |
ExposureMask, &xevent);
if( (xevent.type == Expose) if( (xevent.type == Expose)
&& (xevent.xexpose.window == p_win->base_window) ) && (xevent.xexpose.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