summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2002-01-04 22:46:37 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-01-04 22:46:37 +0000
commit06ec2b948fbb8a50a619a7f4c97c310c51592d6e (patch)
tree5aea3fb35666e1b5249dfd2b207de37ab18330e0 /src
parent60f48e44ff78327e316a632a6f349a1f6993bd09 (diff)
downloadmetacity-06ec2b948fbb8a50a619a7f4c97c310c51592d6e.tar.gz
metacity-06ec2b948fbb8a50a619a7f4c97c310c51592d6e.tar.bz2
don't lower docks when a grab causes them to get LeaveNotify
2002-01-04 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): don't lower docks when a grab causes them to get LeaveNotify
Diffstat (limited to 'src')
-rw-r--r--src/display.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c
index 1c2a713..b98a0e8 100644
--- a/src/display.c
+++ b/src/display.c
@@ -873,7 +873,9 @@ event_callback (XEvent *event,
break;
}
- if (window->type == META_WINDOW_DOCK)
+ if (window->type == META_WINDOW_DOCK &&
+ event->xcrossing.mode != NotifyGrab &&
+ event->xcrossing.mode != NotifyUngrab)
meta_window_lower (window);
}
break;