summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-01 22:53:40 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-02 09:14:29 +0200
commita074e6b6754d6c2706b2b5de54e22cbffc5b1a17 (patch)
treefb84d49ffa1a990ffa8084009822c61a88321891
parent81257377a2d011ce47fba5822df0f7918dea1d72 (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>
-rw-r--r--Xi/extinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 289558fae..0b7280d95 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: