update touch enabled/disabled based on seat capabilities

Signed-off-by: Chris Michael <cp.michael@samsung.com>
devs/bu5hm4n/mixer_fix_range
Chris Michael 6 years ago
parent 638d5d502f
commit 1e37dd65fd
  1. 5
      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)
else if (ev->keyboard_count > 0)
e_comp_wl_input_keyboard_enabled_set(EINA_TRUE);
if (ev->touch_count <= 0)
e_comp_wl_input_touch_enabled_set(EINA_FALSE);
else if (ev->touch_count > 0)
e_comp_wl_input_touch_enabled_set(EINA_TRUE);
return ECORE_CALLBACK_RENEW;
}

Loading…
Cancel
Save