summaryrefslogtreecommitdiff
path: root/src/lib/elput/Elput.h
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-09 11:01:30 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-09 11:01:30 -0400
commit3de066469ae76c22e50e9f78b03f1841d81cd7cc (patch)
treede812f28a53f7cadaff7797fd1923d94d9e30b79 /src/lib/elput/Elput.h
parent9ed2f42c08c5adffbd4c13043923a1d5683d0bf1 (diff)
elput: Support sending of session activate/deactivate event
This patch adds support for notifying when a session gets activated or deactivated. This will be used in drm2 to notify compositor when to pause/restart rendering during a vt switch @feature Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/Elput.h')
-rw-r--r--src/lib/elput/Elput.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elput/Elput.h b/src/lib/elput/Elput.h
index f3fe16b127..95adfce052 100644
--- a/src/lib/elput/Elput.h
+++ b/src/lib/elput/Elput.h
@@ -91,11 +91,19 @@ typedef struct _Elput_Event_Device_Change
91 Elput_Device_Change_Type type; 91 Elput_Device_Change_Type type;
92} Elput_Event_Device_Change; 92} Elput_Event_Device_Change;
93 93
94/* structure to represent session active changes */
95typedef struct _Elput_Event_Session_Active
96{
97 const char *session;
98 Eina_Bool active : 1;
99} Elput_Event_Session_Active;
100
94EAPI extern int ELPUT_EVENT_SEAT_CAPS; 101EAPI extern int ELPUT_EVENT_SEAT_CAPS;
95EAPI extern int ELPUT_EVENT_SEAT_FRAME; 102EAPI extern int ELPUT_EVENT_SEAT_FRAME;
96EAPI extern int ELPUT_EVENT_KEYMAP_SEND; 103EAPI extern int ELPUT_EVENT_KEYMAP_SEND;
97EAPI extern int ELPUT_EVENT_MODIFIERS_SEND; 104EAPI extern int ELPUT_EVENT_MODIFIERS_SEND;
98EAPI extern int ELPUT_EVENT_DEVICE_CHANGE; 105EAPI extern int ELPUT_EVENT_DEVICE_CHANGE;
106EAPI extern int ELPUT_EVENT_SESSION_ACTIVE;
99 107
100/** 108/**
101 * @file 109 * @file