[clutter] gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD)
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD)
- Date: Mon, 12 Mar 2012 12:21:55 +0000 (UTC)
commit ac6ce79aa389982c3e7113f6192f492a6e21b4b1
Author: Stefano Facchini <stefano facchini gmail com>
Date: Sat Mar 10 16:39:16 2012 +0100
gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD)
https://bugzilla.gnome.org/show_bug.cgi?id=671779
clutter/gdk/clutter-input-device-gdk.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/clutter/gdk/clutter-input-device-gdk.c b/clutter/gdk/clutter-input-device-gdk.c
index 44150ff..9bbd534 100644
--- a/clutter/gdk/clutter-input-device-gdk.c
+++ b/clutter/gdk/clutter-input-device-gdk.c
@@ -138,6 +138,12 @@ _clutter_input_device_gdk_new (ClutterDeviceManager *manager,
case GDK_SOURCE_KEYBOARD:
device_type = CLUTTER_KEYBOARD_DEVICE;
break;
+ case GDK_SOURCE_TOUCHSCREEN:
+ device_type = CLUTTER_TOUCHSCREEN_DEVICE;
+ break;
+ case GDK_SOURCE_TOUCHPAD:
+ device_type = CLUTTER_TOUCHPAD_DEVICE;
+ break;
}
if (device_type != CLUTTER_KEYBOARD_DEVICE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]