diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2017-08-16 15:25:07 -0500 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2017-08-16 15:26:24 -0500 |
commit | b7ecbde928ba97aa93b7f7c28649d99d426ea2ab (patch) | |
tree | 9e9a55dbb1f06babbdaa07545be155a6a2bd2829 | |
parent | 3271efaba44ec1efc5b1a3ddbd55b3dacb7bc1f1 (diff) | |
download | enlightenment-devs/derekf/for_derbyw.tar.gz |
Prevent seat capabilities stormsdevs/derekf/for_derbyw
-rw-r--r-- | src/bin/e_comp_wl_input.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index 1ae1892979..d7a265c214 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -625,6 +625,8 @@ e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled) return; } + if (e_comp_wl->ptr.enabled == !!enabled) return; + e_comp_wl->ptr.enabled = !!enabled; _e_comp_wl_input_update_seat_caps(); } @@ -639,6 +641,8 @@ e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled) return; } + if (e_comp_wl->kbd.enabled == !!enabled) return; + e_comp_wl->kbd.enabled = !!enabled; _e_comp_wl_input_update_seat_caps(); } @@ -754,6 +758,8 @@ e_comp_wl_input_touch_enabled_set(Eina_Bool enabled) return; } + if (e_comp_wl->touch.enabled == !!enabled) return; + e_comp_wl->touch.enabled = !!enabled; _e_comp_wl_input_update_seat_caps(); } |