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
This commit is contained in:
Havoc Pennington 2002-01-04 22:46:37 +00:00 committed by Havoc Pennington
parent 60f48e44ff
commit 06ec2b948f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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
2002-01-04 Havoc Pennington <hp@pobox.com> 2002-01-04 Havoc Pennington <hp@pobox.com>
* src/screen.c (meta_screen_free): set event mask on root window * src/screen.c (meta_screen_free): set event mask on root window

View File

@ -873,7 +873,9 @@ event_callback (XEvent *event,
break; 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); meta_window_lower (window);
} }
break; break;