mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
dix: un-static FixUpEventFromWindow and deal with focus events too.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user