From df2587a61c08735111d513b4d82b81af76cb36e5 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 12 Sep 2014 16:35:11 -0400 Subject: [PATCH] Don't pass configure events on the composite overlay window to MetaStackTracker When the screen resizes, we get a configure event for the composite overlay window - don't pass that to MetaStackTracker, since the COW isn't in the stack. Fixes warning: mutter-WARNING **: STACK_OP_RAISE_ABOVE: window 0x65 not in stack --- src/x11/events.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/x11/events.c b/src/x11/events.c index 97bd41fe5..cfb1e4404 100644 --- a/src/x11/events.c +++ b/src/x11/events.c @@ -1362,7 +1362,8 @@ handle_other_xevent (MetaDisplay *display, case ConfigureNotify: if (event->xconfigure.event != event->xconfigure.window) { - if (event->xconfigure.event == display->screen->xroot) + if (event->xconfigure.event == display->screen->xroot && + event->xconfigure.window != display->screen->composite_overlay_window) meta_stack_tracker_configure_event (display->screen->stack_tracker, &event->xconfigure); }