mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Ignore EnterNotify events when the detail field is set to NotifyInferior.
2002-10-14 Federico Mena Quintero <federico@ximian.com> * src/display.c (event_callback): Ignore EnterNotify events when the detail field is set to NotifyInferior. Fixes #95747.
This commit is contained in:
parent
9740b3f1df
commit
8c2e8ddf5c
@ -1,3 +1,8 @@
|
||||
2002-10-14 Federico Mena Quintero <federico@ximian.com>
|
||||
|
||||
* src/display.c (event_callback): Ignore EnterNotify events when
|
||||
the detail field is set to NotifyInferior. Fixes #95747.
|
||||
|
||||
2002-10-12 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* src/metacity.schemas.in: button layout key
|
||||
|
@ -1192,7 +1192,8 @@ event_callback (XEvent *event,
|
||||
break;
|
||||
case EnterNotify:
|
||||
/* do this even if window->has_focus to avoid races */
|
||||
if (window && !serial_is_ignored (display, event->xany.serial))
|
||||
if (window && !serial_is_ignored (display, event->xany.serial) &&
|
||||
event->xcrossing.detail != NotifyInferior)
|
||||
{
|
||||
switch (meta_prefs_get_focus_mode ())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user