mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 07:26:51 -05:00
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:
parent
49fe8f0399
commit
d70e08039c
@ -1,3 +1,8 @@
|
|||||||
|
2002-05-23 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
|
* src/display.c (event_callback): also filter out LeaveNotify
|
||||||
|
with NotifyInferior
|
||||||
|
|
||||||
2002-05-23 Jayaraj Rajappan <jayaraj.rajappan@wipro.com>
|
2002-05-23 Jayaraj Rajappan <jayaraj.rajappan@wipro.com>
|
||||||
|
|
||||||
* src/display.c (event_callback): fix for bugzilla bug #72314,
|
* src/display.c (event_callback): fix for bugzilla bug #72314,
|
||||||
|
@ -1160,7 +1160,8 @@ event_callback (XEvent *event,
|
|||||||
*/
|
*/
|
||||||
if (window->has_focus &&
|
if (window->has_focus &&
|
||||||
event->xcrossing.mode != NotifyGrab &&
|
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",
|
meta_verbose ("Unsetting focus from %s due to LeaveNotify\n",
|
||||||
window->desc);
|
window->desc);
|
||||||
|
Loading…
Reference in New Issue
Block a user