diff options
author | Matthieu Herrb <matthieu.herrb@laas.fr> | 2011-04-01 22:53:40 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-04-07 08:36:59 +1000 |
commit | e08a7df54da8aeb343412ed9dda250207dc749f4 (patch) | |
tree | 6b7179bf35c1d5d75e7075d8d121017e5d765e08 | |
parent | 69ee0f68b7bbd8007d91b8485a4c6684c552a9dd (diff) |
Xi: add XI_Focus{In,Out} to swapped events.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
Reviewed-by: Julien Cristau <jcristau@debian.org>
(cherry picked from commit a074e6b6754d6c2706b2b5de54e22cbffc5b1a17)
-rw-r--r-- | Xi/extinit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index c26cd6b17..ec815c913 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -864,6 +864,8 @@ XI2EventSwap(xGenericEvent *from, xGenericEvent *to) { case XI_Enter: case XI_Leave: + case XI_FocusIn: + case XI_FocusOut: SDeviceLeaveNotifyEvent((xXILeaveEvent*)from, (xXILeaveEvent*)to); break; case XI_DeviceChanged: |