mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
events: Make sure to check the event window of the MapNotify
This was lost in a rebase when killing off zaphod mode.
This commit is contained in:
parent
f4f529385a
commit
e10fd19d24
@ -1374,7 +1374,7 @@ handle_other_xevent (MetaDisplay *display,
|
||||
/* NB: override redirect windows wont cause a map request so we
|
||||
* watch out for map notifies against any root windows too if a
|
||||
* compositor is enabled: */
|
||||
if (window == NULL)
|
||||
if (window == NULL && event->xmap.event == display->screen->xroot)
|
||||
{
|
||||
window = meta_window_x11_new (display, event->xmap.window,
|
||||
FALSE, META_COMP_EFFECT_CREATE);
|
||||
|
Loading…
Reference in New Issue
Block a user