From e10fd19d240dbc59eaef0a5fe9e88c45f22fbdfe Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Fri, 28 Mar 2014 13:46:00 -0400 Subject: [PATCH] events: Make sure to check the event window of the MapNotify This was lost in a rebase when killing off zaphod mode. --- src/core/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/events.c b/src/core/events.c index 137c60539..1cbd6ba8f 100644 --- a/src/core/events.c +++ b/src/core/events.c @@ -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);