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:
committed by
Rob Bradford
parent
83c5e354bd
commit
ce9f232eb8
@ -107,7 +107,7 @@ gdk_input_init (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;
|
||||
|
||||
Reference in New Issue
Block a user