winex11.drv: Ignore ConfigureNotify events on hidden windows
Alexandre Julliard
julliard at winehq.org
Wed Jan 7 14:13:05 CST 2015
Piotr Caban <piotr at 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 at winehq.org
More information about the wine-devel
mailing list