summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2011-04-01 21:28:01 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2011-04-01 21:28:01 +0000
commit68fd41f12f9344d45b8a897e368548c7dcb0d366 (patch)
tree45a90fa0c642e35b1aece597a26932ba408c7a52
parentc079a8cc6c8ebf9701b6c9b408d3a52bded6f1fc (diff)
Xi: add XI_Focus{In,Out} to swapped events.
-rw-r--r--xserver/Xi/extinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xserver/Xi/extinit.c b/xserver/Xi/extinit.c
index 57403369f..ab91ce640 100644
--- a/xserver/Xi/extinit.c
+++ b/xserver/Xi/extinit.c
@@ -863,6 +863,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: