summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-01-17 08:42:53 -0500
committerChris Michael <cp.michael@samsung.com>2017-01-17 08:42:53 -0500
commit1e37dd65fd34342748c2e5c21412444c9b944a7d (patch)
tree16b56dbc237a85ccb5eaabef4797e45058abfd4e
parent638d5d502fd02a47beb9ce5c33418dbb8965c0cd (diff)
update touch enabled/disabled based on seat capabilities
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/modules/wl_drm/e_mod_main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/wl_drm/e_mod_main.c b/src/modules/wl_drm/e_mod_main.c
index 56d11cc2e..b9cea2d90 100644
--- a/src/modules/wl_drm/e_mod_main.c
+++ b/src/modules/wl_drm/e_mod_main.c
@@ -1193,6 +1193,11 @@ _drm2_cb_seat_caps(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
1193 else if (ev->keyboard_count > 0) 1193 else if (ev->keyboard_count > 0)
1194 e_comp_wl_input_keyboard_enabled_set(EINA_TRUE); 1194 e_comp_wl_input_keyboard_enabled_set(EINA_TRUE);
1195 1195
1196 if (ev->touch_count <= 0)
1197 e_comp_wl_input_touch_enabled_set(EINA_FALSE);
1198 else if (ev->touch_count > 0)
1199 e_comp_wl_input_touch_enabled_set(EINA_TRUE);
1200
1196 return ECORE_CALLBACK_RENEW; 1201 return ECORE_CALLBACK_RENEW;
1197} 1202}
1198 1203