dix: always send FocusIn events if mode is NotifyUngrab.
In the case of a NotifyUngrab, the flag for the device may already be set but we still need to send the FocusIn event.
This commit is contained in:
parent
8190ef8754
commit
c3659cb414
|
@ -4690,6 +4690,8 @@ FocusEvent(DeviceIntPtr dev, int type, int mode, int detail, WindowPtr pWin)
|
|||
|
||||
if (!numFoci)
|
||||
sendevent = TRUE;
|
||||
else if (mode == NotifyUngrab && FOCUS_SEMAPHORE_ISSET(pWin, dev))
|
||||
sendevent = TRUE;
|
||||
|
||||
if (sendevent)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user