mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 20:48:00 +02:00
dix: un-static FixUpEventFromWindow and deal with focus events too.
This commit is contained in:
parent
4cc6a96d71
commit
a4b61cfc78
1 changed files with 2 additions and 1 deletions
|
|
@ -2233,7 +2233,8 @@ FixUpEventFromWindow(
|
|||
event->child = None;
|
||||
}
|
||||
|
||||
if (event->evtype == XI_Enter || event->evtype == XI_Leave)
|
||||
if (event->evtype == XI_Enter || event->evtype == XI_Leave ||
|
||||
event->evtype == XI_FocusIn || event->evtype == XI_FocusOut)
|
||||
((xXIEnterEvent*)event)->same_screen =
|
||||
(pSprite->hot.pScreen == pWin->drawable.pScreen);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue