aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-08-16 20:25:07 (GMT)
committerDerek Foreman <derekf@osg.samsung.com>2017-08-16 20:26:24 (GMT)
commitb7ecbde928ba97aa93b7f7c28649d99d426ea2ab (patch)
tree9e9a55dbb1f06babbdaa07545be155a6a2bd2829
parentcapture zone for newly-added bryces based on name (diff)
downloadenlightenment-devs/derekf/for_derbyw.tar.gz
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 1ae1892..d7a265c 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();
}