and now make my modifications to multittouch this morning also work

again with mpx automatically. yay!



SVN revision: 64071
This commit is contained in:
Carsten Haitzler 2011-10-14 09:11:49 +00:00
parent ee158e76fc
commit d45161691a
1 changed files with 33 additions and 21 deletions

View File

@ -236,6 +236,17 @@ ecore_x_input_multi_select(Ecore_X_Window win)
find = EINA_TRUE;
}
else if (dev->use == XISlavePointer)
{
XIDeviceInfo *atdev = NULL;
int j;
for (j = 0; j < _ecore_x_xi2_num; j++)
{
if (_ecore_x_xi2_devs[j].deviceid == dev->attachment)
atdev = &(_ecore_x_xi2_devs[j]);
}
if (((atdev) && (atdev->use != XIMasterPointer)) ||
(!atdev))
{
XIEventMask eventmask;
unsigned char mask[4] = { 0 };
@ -259,6 +270,7 @@ ecore_x_input_multi_select(Ecore_X_Window win)
find = EINA_TRUE;
}
}
}
return find;
#else /* ifdef ECORE_XI2 */