summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-04-06 10:38:08 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-04-13 14:16:17 -0400
commit5db91e3802bd7084a2df7c79300e91e7b0d10ce6 (patch)
tree67185560ab00c70c341968cc2834047343a44651 /src/lib/elput/elput.c
parentb764978f29d86a3e42eac1de3e438e0932b4331f (diff)
elput: Create and send seat frame events when we need to
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput.c')
-rw-r--r--src/lib/elput/elput.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/elput/elput.c b/src/lib/elput/elput.c
index ef2ca6b783..9a673dab6c 100644
--- a/src/lib/elput/elput.c
+++ b/src/lib/elput/elput.c
@@ -7,6 +7,7 @@ static int _elput_init_count = 0;
7int _elput_log_dom = -1; 7int _elput_log_dom = -1;
8 8
9EAPI int ELPUT_EVENT_SEAT_CAPS = -1; 9EAPI int ELPUT_EVENT_SEAT_CAPS = -1;
10EAPI int ELPUT_EVENT_SEAT_FRAME = -1;
10 11
11EAPI int 12EAPI int
12elput_init(void) 13elput_init(void)
@@ -26,6 +27,7 @@ elput_init(void)
26 } 27 }
27 28
28 ELPUT_EVENT_SEAT_CAPS = ecore_event_type_new(); 29 ELPUT_EVENT_SEAT_CAPS = ecore_event_type_new();
30 ELPUT_EVENT_SEAT_FRAME = ecore_event_type_new();
29 31
30 return _elput_init_count; 32 return _elput_init_count;
31 33
@@ -48,6 +50,7 @@ elput_shutdown(void)
48 if (--_elput_init_count != 0) return _elput_init_count; 50 if (--_elput_init_count != 0) return _elput_init_count;
49 51
50 ELPUT_EVENT_SEAT_CAPS = -1; 52 ELPUT_EVENT_SEAT_CAPS = -1;
53 ELPUT_EVENT_SEAT_FRAME = -1;
51 54
52 eina_log_domain_unregister(_elput_log_dom); 55 eina_log_domain_unregister(_elput_log_dom);
53 _elput_log_dom = -1; 56 _elput_log_dom = -1;