don't filter out non-master pointers in xi2.2 support.

This commit is contained in:
Carsten Haitzler 2013-02-18 16:37:20 +09:00
parent 28218fe856
commit 5adb2f1ae6
3 changed files with 11 additions and 3 deletions

View File

@ -2,6 +2,8 @@
* Fix edje edje_color_class_list() and edje_text_class_list() to
look at the correct hashes when returning.
* UIpdate ecore_x XI2.2 code to not filter out non-master
pointers.
2013-02-17 Mike Blumenkrantz

1
NEWS
View File

@ -111,6 +111,7 @@ Improvements:
* eina: Eina_Tiler now take tile size into account.
* edje: reduce memory consumption of Edje program handler.
* eina, evas: improved support for 64bits system.
* don't filter out non-master pointers in XI2.2 support.
Fixes:
* Fix a memory leak in ecore_con_dns when using ecore_con_server_connect

View File

@ -438,6 +438,9 @@ ecore_x_input_multi_select(Ecore_X_Window win)
}
else if (dev->use == XISlavePointer)
{
/* disabled as this seems nto to be needed and never was successfully
* tested anyway. leave this here commented out for a while to let people
* whickly re-enable and see. should go away one day though.
XIDeviceInfo *atdev = NULL;
int j;
@ -448,6 +451,7 @@ ecore_x_input_multi_select(Ecore_X_Window win)
}
if (((atdev) && (atdev->use != XIMasterPointer)) ||
(!atdev))
*/
{
XIEventMask eventmask;
unsigned char mask[4] = { 0 };
@ -482,11 +486,11 @@ ecore_x_input_multi_select(Ecore_X_Window win)
# ifdef XI_TouchEnd
XISetMask(mask, XI_TouchEnd);
# endif
#endif /* #ifdef ECORE_XI2_2 */
#endif
XISelectEvents(_ecore_x_disp, win, &eventmask, 1);
find = EINA_TRUE;
}
/* part of the above commented int - never tested/needed the if...
#ifdef ECORE_XI2_2
else if ((atdev) && (atdev->use == XIMasterPointer))
{
@ -514,7 +518,8 @@ ecore_x_input_multi_select(Ecore_X_Window win)
find = EINA_TRUE;
}
}
#endif /* #ifdef ECORE_XI2_2 */
#endif
*/
}
}