e syscon - dont show syscon if desklock is up - you can't respond

this also will lock desklock as syscon grabs input away from desklock.
press pwr button while desklock is up to find out. this fixes that.

@fix
This commit is contained in:
Carsten Haitzler 2016-04-21 12:17:04 +09:00
parent 76ed021006
commit 14b6a658cf
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ e_syscon_show(E_Zone *zone, const char *defact)
}
if (!e_comp_grab_input(1, 1)) return 0;
if (e_desklock_state_get()) return 0;
evas = e_comp->evas;
evas_event_freeze(evas);