Fix list handling in gdk_x1_display_init_input
Pointed out in bug 638386.
This commit is contained in:
@ -1152,7 +1152,7 @@ gdk_x11_display_init_input (GdkDisplay *display)
|
|||||||
|
|
||||||
for (l = list; l; l = l->next)
|
for (l = list; l; l = l->next)
|
||||||
{
|
{
|
||||||
device = list->data;
|
device = l->data;
|
||||||
|
|
||||||
if (gdk_device_get_source (device) != GDK_SOURCE_MOUSE)
|
if (gdk_device_get_source (device) != GDK_SOURCE_MOUSE)
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user