summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-16 15:25:07 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-08-16 15:26:24 -0500
commitb7ecbde928ba97aa93b7f7c28649d99d426ea2ab (patch)
tree9e9a55dbb1f06babbdaa07545be155a6a2bd2829
parent3271efaba44ec1efc5b1a3ddbd55b3dacb7bc1f1 (diff)
Prevent seat capabilities stormsdevs/derekf/for_derbyw
-rw-r--r--src/bin/e_comp_wl_input.c6
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 1ae189297..d7a265c21 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)
625 return; 625 return;
626 } 626 }
627 627
628 if (e_comp_wl->ptr.enabled == !!enabled) return;
629
628 e_comp_wl->ptr.enabled = !!enabled; 630 e_comp_wl->ptr.enabled = !!enabled;
629 _e_comp_wl_input_update_seat_caps(); 631 _e_comp_wl_input_update_seat_caps();
630} 632}
@@ -639,6 +641,8 @@ e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled)
639 return; 641 return;
640 } 642 }
641 643
644 if (e_comp_wl->kbd.enabled == !!enabled) return;
645
642 e_comp_wl->kbd.enabled = !!enabled; 646 e_comp_wl->kbd.enabled = !!enabled;
643 _e_comp_wl_input_update_seat_caps(); 647 _e_comp_wl_input_update_seat_caps();
644} 648}
@@ -754,6 +758,8 @@ e_comp_wl_input_touch_enabled_set(Eina_Bool enabled)
754 return; 758 return;
755 } 759 }
756 760
761 if (e_comp_wl->touch.enabled == !!enabled) return;
762
757 e_comp_wl->touch.enabled = !!enabled; 763 e_comp_wl->touch.enabled = !!enabled;
758 _e_comp_wl_input_update_seat_caps(); 764 _e_comp_wl_input_update_seat_caps();
759} 765}