Fix list handling in gdk_x1_display_init_input

Pointed out in bug 638386.
This commit is contained in:
Matthias Clasen 2011-01-02 21:40:49 -05:00
parent 7ee697ab8d
commit 1a87dfdf6d

View File

@ -1152,7 +1152,7 @@ gdk_x11_display_init_input (GdkDisplay *display)
for (l = list; l; l = l->next)
{
device = list->data;
device = l->data;
if (gdk_device_get_source (device) != GDK_SOURCE_MOUSE)
continue;