Commit 4c96559e authored by Sam Hocevar's avatar Sam Hocevar

* ./modules/video_output/x11/xcommon.c: we ignore MapNotify and UnmapNotify

    events once our window has been properly mapped.
parent f9ceeacc
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins * xcommon.c: Functions common to the X11 and XVideo plugins
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: xcommon.c,v 1.9 2003/01/09 18:06:06 sam Exp $ * $Id: xcommon.c,v 1.10 2003/01/15 13:48:14 sam Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -686,13 +686,13 @@ static int ManageVideo( vout_thread_t *p_vout ) ...@@ -686,13 +686,13 @@ static int ManageVideo( vout_thread_t *p_vout )
ToggleCursor( p_vout ); ToggleCursor( p_vout );
} }
} }
/* Reparent move -- XXX: why are we getting this ? */ else if( xevent.type == ReparentNotify /* XXX: why do we get this? */
else if( xevent.type == ReparentNotify ) || xevent.type == MapNotify
|| xevent.type == UnmapNotify )
{ {
; /* Ignore these events */
} }
/* Other event */ else /* Other events */
else
{ {
msg_Warn( p_vout, "unhandled event %d received", xevent.type ); msg_Warn( p_vout, "unhandled event %d received", xevent.type );
} }
......
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