summaryrefslogtreecommitdiff
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-01 20:53:40 (GMT)
committer Matthieu Herrb <matthieu.herrb@laas.fr>2011-04-02 07:14:29 (GMT)
commita074e6b6754d6c2706b2b5de54e22cbffc5b1a17 (patch) (side-by-side diff)
treefb84d49ffa1a990ffa8084009822c61a88321891
parent81257377a2d011ce47fba5822df0f7918dea1d72 (diff)
downloadxserver-a074e6b6754d6c2706b2b5de54e22cbffc5b1a17.zip
xserver-a074e6b6754d6c2706b2b5de54e22cbffc5b1a17.tar.gz
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>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Xi/extinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 289558f..0b7280d 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: