diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-06 22:27:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-03-20 15:17:54 +1000 |
commit | 43e48900fccd245e98d6d697e4cdbb6fa866a0dd (patch) | |
tree | 27b5c2b09717a6ef0015303183e7ee250584c7d7 /Xi/setmmap.c | |
parent | 70896f6127e2c12c13479a027fdd6e67853d1f8b (diff) | |
download | xserver-43e48900fccd245e98d6d697e4cdbb6fa866a0dd.tar.gz |
dix: Force deviced ids of 2 and higher for actual devices.
0 is now reserved for the "AllDevices" virtual device.
1 is now reserved for the "AllMasterDevices" virtual device.
This also means that wherever we passed in (mskidx = 0), we now need to pass
in the deviceid.
Diffstat (limited to 'Xi/setmmap.c')
-rw-r--r-- | Xi/setmmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Xi/setmmap.c b/Xi/setmmap.c index 8a0ab3e81..ffcc7f3ce 100644 --- a/Xi/setmmap.c +++ b/Xi/setmmap.c @@ -56,6 +56,7 @@ SOFTWARE. #include "inputstr.h" /* DeviceIntPtr */ #include <X11/extensions/XI.h> +#include <X11/extensions/XI2.h> #include <X11/extensions/XIproto.h> #include "exevents.h" #include "exglobals.h" |