Prevent seat capabilities storms
This commit is contained in:
parent
3271efaba4
commit
b7ecbde928
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue