also filter out LeaveNotify with NotifyInferior
2002-05-23 Havoc Pennington <hp@pobox.com> * src/display.c (event_callback): also filter out LeaveNotify with NotifyInferior
This commit is contained in:

committed by
Havoc Pennington

parent
49fe8f0399
commit
d70e08039c
@ -1160,7 +1160,8 @@ event_callback (XEvent *event,
|
||||
*/
|
||||
if (window->has_focus &&
|
||||
event->xcrossing.mode != NotifyGrab &&
|
||||
event->xcrossing.mode != NotifyUngrab)
|
||||
event->xcrossing.mode != NotifyUngrab &&
|
||||
event->xcrossing.detail != NotifyInferior)
|
||||
{
|
||||
meta_verbose ("Unsetting focus from %s due to LeaveNotify\n",
|
||||
window->desc);
|
||||
|
Reference in New Issue
Block a user