wayland: Fix typo in setting of core_pointer

This typo caused the display's core_pointer to be set only if the mouse
was first in the device list.

https://bugzilla.gnome.org/show_bug.cgi?id=703434
This commit is contained in:
Michael Forney
2013-07-01 15:51:20 -07:00
committed by Rob Bradford
parent 83c5e354bd
commit ce9f232eb8

View File

@ -107,7 +107,7 @@ gdk_input_init (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;