mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
gdk: add new device types (GDK_SOURCE_TOUCHSCREEN, GDK_SOURCE_TOUCHPAD)
https://bugzilla.gnome.org/show_bug.cgi?id=671779
This commit is contained in:
parent
440c47e941
commit
ac6ce79aa3
@ -138,6 +138,12 @@ _clutter_input_device_gdk_new (ClutterDeviceManager *manager,
|
|||||||
case GDK_SOURCE_KEYBOARD:
|
case GDK_SOURCE_KEYBOARD:
|
||||||
device_type = CLUTTER_KEYBOARD_DEVICE;
|
device_type = CLUTTER_KEYBOARD_DEVICE;
|
||||||
break;
|
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)
|
if (device_type != CLUTTER_KEYBOARD_DEVICE)
|
||||||
|
Loading…
Reference in New Issue
Block a user