summaryrefslogtreecommitdiff
path: root/headers/gdesktop-enums.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-03-13 21:51:25 +0100
committerBastien Nocera <hadess@hadess.net>2015-03-17 14:03:32 +0100
commit2803f452046b90607bad32dbea487199785823ab (patch)
tree2e09d46250358880b0a180a11bb1ca41e52c7c03 /headers/gdesktop-enums.h
parent4b439c6310455e91f76ee68271c5154548d78f1f (diff)
downloadgsettings-desktop-schemas-2803f452046b90607bad32dbea487199785823ab.tar.gz
schemas: Add a way to turn off "PC-style" right-click
On Macs, there's no physical touchpad buttons, and right clicks are performed through 2-finger clicks. On Lenovos (and many other PCs), specific areas of the device are set aside to act as buttons. The default configuration for those is to leave it as is the default for that specific hardware, but allows to remove button areas on PC laptops. See equivalent, old-style work-around: https://gist.github.com/hadess/6779414
Diffstat (limited to 'headers/gdesktop-enums.h')
-rw-r--r--headers/gdesktop-enums.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/headers/gdesktop-enums.h b/headers/gdesktop-enums.h
index 399bb8c..8386f61 100644
--- a/headers/gdesktop-enums.h
+++ b/headers/gdesktop-enums.h
@@ -178,6 +178,14 @@ typedef enum
typedef enum
{
+ G_DESKTOP_TOUCHPAD_CLICK_METHOD_DEFAULT,
+ G_DESKTOP_TOUCHPAD_CLICK_METHOD_NONE,
+ G_DESKTOP_TOUCHPAD_CLICK_METHOD_AREAS,
+ G_DESKTOP_TOUCHPAD_CLICK_METHOD_FINGERS
+} GDesktopTouchpadClickMethod;
+
+typedef enum
+{
G_DESKTOP_DEVICE_SEND_EVENTS_ENABLED,
G_DESKTOP_DEVICE_SEND_EVENTS_DISABLED,
G_DESKTOP_DEVICE_SEND_EVENTS_DISABLED_ON_EXTERNAL_MOUSE