[gtk+] wayland: Fix typo in setting of core_pointer



commit ce9f232eb8c5a409652534e4833207d2b6a475ef
Author: Michael Forney <mforney mforney org>
Date:   Mon Jul 1 15:51:20 2013 -0700

    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

 gdk/wayland/gdkdisplay-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdisplay-wayland.c b/gdk/wayland/gdkdisplay-wayland.c
index dec350a..89504e8 100644
--- a/gdk/wayland/gdkdisplay-wayland.c
+++ b/gdk/wayland/gdkdisplay-wayland.c
@@ -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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]