Re: winex11.drv: Ignore ConfigureNotify events on hidden windows
7 Jan
2015
7 Jan
'15
8:13 p.m.
Piotr Caban <piotr(a)codeweavers.com> writes:
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index ea24471..1b8e568 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -1075,6 +1075,10 @@ void X11DRV_ConfigureNotify( HWND hwnd, XEvent *xev ) event->serial, data->configure_serial ); goto done; } +#ifdef HAVE_LIBXSHAPE + /* ignore notifications on hidden window */ + if (IsRectEmpty( &data->window_rect )) goto done; +#endif
It shouldn't make a difference whether we have XShape or not. Also note that there's already a check later on, which is probably where you'd want to change something. -- Alexandre Julliard julliard(a)winehq.org
3993
Age (days ago)
3993
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard