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.
This commit is contained in:
Peter Hutterer
2009-03-06 22:27:54 +10:00
parent 70896f6127
commit 43e48900fc
4 changed files with 29 additions and 25 deletions

View File

@@ -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"