summaryrefslogtreecommitdiff
path: root/Xi/extinit.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-07-13 18:40:53 +0930
committerPeter Hutterer <peter.hutterer@who-t.net>2008-07-13 20:54:33 +0930
commit5bcc45e07e8726a5442567472dd29cfb5c901f2d (patch)
tree231436a1967b3fbcf0e9a929b67204f68378afb5 /Xi/extinit.c
parentc9eb0e870c87d291311491452adf7f91a911e24b (diff)
Xi: expose Enable/DisableDevice through XI_PROP_ENABLED property.
Diffstat (limited to 'Xi/extinit.c')
-rw-r--r--Xi/extinit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c
index 7460d71ee..ba93ebcf0 100644
--- a/Xi/extinit.c
+++ b/Xi/extinit.c
@@ -123,6 +123,7 @@ SOFTWARE.
#include "warpdevp.h"
#include "xiselev.h"
#include "xiproperty.c"
+#include "xiproperty.h"
static Mask lastExtEventMask = 1;
@@ -1140,6 +1141,7 @@ XInputExtensionInit(void)
IEventBase = extEntry->eventBase;
AllExtensionVersions[IReqCode - 128] = thisversion;
MakeDeviceTypeAtoms();
+ XIInitKnownProperties();
RT_INPUTCLIENT = CreateNewResourceType((DeleteType) InputClientGone);
RegisterResourceName(RT_INPUTCLIENT, "INPUTCLIENT");
FixExtensionEvents(extEntry);