summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 10:18:51 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:46:32 -0500
commit2c7e448fb2189cb898fb29e1e0f641f479d3f7f9 (patch)
treeb02c1d0a806da1f3544de2a810cfd05e5323080d
parentbd66d3e1bb16bd28880989fcfc1d6f4374b12184 (diff)
disable bindings during desklock
hopefully nobody noticed this before now...
-rw-r--r--src/bin/e_desklock.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/e_desklock.c b/src/bin/e_desklock.c
index d29183528..41f4f74e8 100644
--- a/src/bin/e_desklock.c
+++ b/src/bin/e_desklock.c
@@ -255,6 +255,7 @@ e_desklock_show(Eina_Bool suspend)
255 _e_custom_desklock_exe = 255 _e_custom_desklock_exe =
256 ecore_exe_run(e_config->desklock_custom_desklock_cmd, NULL); 256 ecore_exe_run(e_config->desklock_custom_desklock_cmd, NULL);
257 _e_desklock_state = EINA_TRUE; 257 _e_desklock_state = EINA_TRUE;
258 e_bindings_disabled_set(1);
258 /* TODO: ensure layer is correct on external desklocks? */ 259 /* TODO: ensure layer is correct on external desklocks? */
259 return 1; 260 return 1;
260 } 261 }
@@ -342,6 +343,7 @@ e_desklock_show(Eina_Bool suspend)
342 e_util_env_set("E_DESKLOCK_UNLOCKED", NULL); 343 e_util_env_set("E_DESKLOCK_UNLOCKED", NULL);
343 e_util_env_set("E_DESKLOCK_LOCKED", "locked"); 344 e_util_env_set("E_DESKLOCK_LOCKED", "locked");
344 _e_desklock_state = EINA_TRUE; 345 _e_desklock_state = EINA_TRUE;
346 e_bindings_disabled_set(1);
345 return 1; 347 return 1;
346lang_fail: 348lang_fail:
347 if (e_config->desklock_language) 349 if (e_config->desklock_language)
@@ -391,6 +393,7 @@ e_desklock_hide(void)
391 } 393 }
392 394
393 _e_desklock_state = EINA_FALSE; 395 _e_desklock_state = EINA_FALSE;
396 e_bindings_disabled_set(0);
394 ev = E_NEW(E_Event_Desklock, 1); 397 ev = E_NEW(E_Event_Desklock, 1);
395 ev->on = 0; 398 ev->on = 0;
396 ev->suspend = 1; 399 ev->suspend = 1;