mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Fix unwanted loss of focus to the mouse window when using keynav (fixes
2004-09-15 Elijah Newren <newren@math.utah.edu> Fix unwanted loss of focus to the mouse window when using keynav (fixes #101190) * src/display.c (event_callback): Ignore EnterNotify events with xcrossing.mode of either NotifyGrab or NotifyUngrab
This commit is contained in:
parent
4b9fe2cae7
commit
a880f5d401
@ -1,3 +1,11 @@
|
|||||||
|
2004-09-15 Elijah Newren <newren@math.utah.edu>
|
||||||
|
|
||||||
|
Fix unwanted loss of focus to the mouse window when using keynav
|
||||||
|
(fixes #101190)
|
||||||
|
|
||||||
|
* src/display.c (event_callback): Ignore EnterNotify events with
|
||||||
|
xcrossing.mode of either NotifyGrab or NotifyUngrab
|
||||||
|
|
||||||
2004-09-15 Elijah Newren <newren@math.utah.edu>
|
2004-09-15 Elijah Newren <newren@math.utah.edu>
|
||||||
|
|
||||||
Focus correct window after minimizing via the tasklist (fixes
|
Focus correct window after minimizing via the tasklist (fixes
|
||||||
|
@ -1677,6 +1677,8 @@ event_callback (XEvent *event,
|
|||||||
meta_window_handle_mouse_grab_op_event (window, event);
|
meta_window_handle_mouse_grab_op_event (window, event);
|
||||||
/* do this even if window->has_focus to avoid races */
|
/* do this even if window->has_focus to avoid races */
|
||||||
else if (window && !serial_is_ignored (display, event->xany.serial) &&
|
else if (window && !serial_is_ignored (display, event->xany.serial) &&
|
||||||
|
event->xcrossing.mode != NotifyGrab &&
|
||||||
|
event->xcrossing.mode != NotifyUngrab &&
|
||||||
event->xcrossing.detail != NotifyInferior &&
|
event->xcrossing.detail != NotifyInferior &&
|
||||||
meta_display_focus_sentinel_clear (display))
|
meta_display_focus_sentinel_clear (display))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user