[mutter/wip/garnacho/virtual-input-device: 78/94] clutter: Fix typo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/garnacho/virtual-input-device: 78/94] clutter: Fix typo
- Date: Wed, 20 Jul 2016 16:32:56 +0000 (UTC)
commit 88fa51be3ccbdf7cd2de7dd6443998f840ed17e6
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]