forked from enlightenment/enlightenment
always perform initial input ungrab when waking screen
in the case where the desklock timer was longer than the blank timer, this would permanently break input input is still broken for the duration of the screen blank animation and any time the screen is blanked
This commit is contained in:
parent
05a8df3d1a
commit
76484915e2
|
@ -4993,6 +4993,8 @@ EINTERN Eina_Bool
|
|||
_e_comp_x_screensaver_off()
|
||||
{
|
||||
const char *s;
|
||||
|
||||
_e_comp_pointer_ungrab();
|
||||
if ((!e_comp->pointer) || (!e_comp->pointer->o_ptr)) return ECORE_CALLBACK_RENEW;
|
||||
s = edje_object_data_get(e_comp->pointer->o_ptr, "can_suspend");
|
||||
|
||||
|
@ -5000,7 +5002,6 @@ _e_comp_x_screensaver_off()
|
|||
{
|
||||
if (!e_desklock_state_get())
|
||||
{
|
||||
_e_comp_pointer_ungrab();
|
||||
_e_comp_pointer_grab();
|
||||
if (!_e_comp_x_suspend_grabbed) return ECORE_CALLBACK_RENEW;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue