diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-12 16:53:56 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-20 15:17:56 +1000 |
commit | 40e2a61e37109cd9c2ab57954ee40dcf4a062e31 (patch) | |
tree | ebb78aa28d656806f2433d11a2a9a5d415911ca5 /Xi/extinit.c | |
parent | d9b7343eac1157490442cc0fb3b5b6d7d6e9a705 (diff) |
Add Get/SetDeviceFocus handling.
Diffstat (limited to 'Xi/extinit.c')
-rw-r--r-- | Xi/extinit.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index 8c9f9e111..23e41ca13 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -120,6 +120,7 @@ SOFTWARE. #include "ungrdevk.h" #include "warpdevp.h" #include "xiselectev.h" +#include "xisetdevfocus.h" #include "xiproperty.h" @@ -239,7 +240,9 @@ static int (*ProcIVector[])(ClientPtr) = { ProcXIGetClientPointer, /* 45 */ ProcXISelectEvent, /* 46 */ ProcXIQueryVersion, /* 47 */ - ProcXIQueryDevice /* 48 */ + ProcXIQueryDevice, /* 48 */ + ProcXISetDeviceFocus, /* 49 */ + ProcXIGetDeviceFocus /* 50 */ }; /* For swapped clients */ @@ -292,7 +295,9 @@ static int (*SProcIVector[])(ClientPtr) = { SProcXIGetClientPointer, /* 45 */ SProcXISelectEvent, /* 46 */ SProcXIQueryVersion, /* 47 */ - SProcXIQueryDevice /* 48 */ + SProcXIQueryDevice, /* 48 */ + SProcXISetDeviceFocus, /* 49 */ + SProcXIGetDeviceFocus /* 50 */ }; /***************************************************************** |