[mutter/wip/tablet-protocol-v2: 131/149] meta: Add MetaPadActionType enum
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/tablet-protocol-v2: 131/149] meta: Add MetaPadActionType enum
- Date: Wed, 20 Jul 2016 17:44:30 +0000 (UTC)
commit c7e0b87d7e72eae99ed36d08b0dec587f49a3e79
Author: Carlos Garnacho <carlosg gnome org>
Date: Wed Jun 22 19:01:31 2016 +0200
meta: Add MetaPadActionType enum
This will be used on lookups to the current action assigned to
any element in a tablet pad.
src/meta/display.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/meta/display.h b/src/meta/display.h
index 17a53c1..ea86d99 100644
--- a/src/meta/display.h
+++ b/src/meta/display.h
@@ -53,6 +53,13 @@ typedef enum
META_TAB_SHOW_INSTANTLY /* Alt-Esc mode */
} MetaTabShowType;
+typedef enum
+{
+ META_PAD_ACTION_BUTTON, /* Action is a button */
+ META_PAD_ACTION_RING, /* Action is a ring */
+ META_PAD_ACTION_STRIP, /* Action is a strip */
+} MetaPadActionType;
+
typedef struct _MetaDisplayClass MetaDisplayClass;
#define META_TYPE_DISPLAY (meta_display_get_type ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]