[mutter/wip/garnacho/virtual-input-device: 12/22] clutter: Fix typo



commit e4fe874e34e56adf1f606e24eb0abd14974c3598
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jul 11 18:24:14 2016 +0200

    clutter: Fix typo
    
    When notifying keys we're looking for the "key" buttont types.

 .../evdev/clutter-virtual-input-device-evdev.c     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/clutter/clutter/evdev/clutter-virtual-input-device-evdev.c 
b/clutter/clutter/evdev/clutter-virtual-input-device-evdev.c
index 1bf609d..80b4141 100644
--- a/clutter/clutter/evdev/clutter-virtual-input-device-evdev.c
+++ b/clutter/clutter/evdev/clutter-virtual-input-device-evdev.c
@@ -226,7 +226,7 @@ clutter_virtual_input_device_evdev_notify_key (ClutterVirtualInputDevice *virtua
     CLUTTER_VIRTUAL_INPUT_DEVICE_EVDEV (virtual_device);
   int key_count;
 
-  if (get_button_type (key) != EVDEV_BUTTON_TYPE_BUTTON)
+  if (get_button_type (key) != EVDEV_BUTTON_TYPE_KEY)
     {
       g_warning ("Unknown/invalid virtual device key 0x%x pressed\n", key);
       return;


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