summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-11 16:32:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-20 15:33:44 +1000
commit8730fa24af5a344876f0c5bfd840d856b5d2b038 (patch)
tree41f90b30d3ff6617c431615228d7486ce28845c0
parentffa8a602e7ae20c7430090360818d635f13b392d (diff)
Handle XI2 focus events.
These events are identical to enter/leave events.
-rw-r--r--src/XExtInt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 02a4665..170394b 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -833,6 +833,8 @@ XInputWireToEvent(
return ENQUEUE_EVENT;
case XI_Enter:
case XI_Leave:
+ case XI_FocusIn:
+ case XI_FocusOut:
*re = *save;
if (!wireToEnterLeave(event, re))
{