[gtk+] wayland: Fix c&p typo in touch capabilities handling.



commit ac5993a7e7fe559c4e75dd733785d213532d5896
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Apr 28 12:58:50 2014 +0200

    wayland: Fix c&p typo in touch capabilities handling.

 gdk/wayland/gdkdevice-wayland.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index ba87837..0f0cf67 100644
--- a/gdk/wayland/gdkdevice-wayland.c
+++ b/gdk/wayland/gdkdevice-wayland.c
@@ -1539,7 +1539,7 @@ seat_handle_capabilities (void                    *data,
 
       g_signal_emit_by_name (device_manager, "device-added", device->touch);
     }
-  else if (!(caps & WL_SEAT_CAPABILITY_KEYBOARD) && device->wl_touch)
+  else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && device->wl_touch)
     {
       wl_touch_destroy (device->wl_touch);
       device->wl_touch = NULL;


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