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
This commit is contained in:
Owen W. Taylor 2014-09-12 16:35:11 -04:00
parent 30e7044746
commit df2587a61c

View File

@ -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);
}