[mutter] Don't pass configure events on the composite overlay window to MetaStackTracker
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] Don't pass configure events on the composite overlay window to MetaStackTracker
- Date: Fri, 12 Sep 2014 20:37:56 +0000 (UTC)
commit df2587a61c08735111d513b4d82b81af76cb36e5
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Fri Sep 12 16:35:11 2014 -0400
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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/events.c b/src/x11/events.c
index 97bd41f..cfb1e44 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]