diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-01-30 23:10:25 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2019-01-30 23:10:25 +0000 |
commit | 91770e35f860e58ef08bbe927050c3c9986727d2 (patch) | |
tree | 26c7ef5ce86d4ea8c8d82c9623b482f736ba5ab9 | |
parent | 9b94849f924629ff4a93632024cdb51da03e6f4d (diff) | |
download | enlightenment-91770e35f860e58ef08bbe927050c3c9986727d2.tar.gz |
e focus - fix to previous commit to restore keybinds on last win del
i didn't notice, but if you delete all windows on a desktop then no
keybinding work. i needed t use my commented out workaround actually
and then a bit. @fix
-rw-r--r-- | src/bin/e_comp_x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c index 705daa5a37..37a631e532 100644 --- a/src/bin/e_comp_x.c +++ b/src/bin/e_comp_x.c @@ -144,18 +144,18 @@ _e_comp_x_focus_check(void) // e_grabinput_focus(e_comp->ee_win, E_FOCUS_METHOD_PASSIVE); // This might be more specific a workaround bit might miss other cases, so keep // here as an idea and for future reference -/* else { - Ecore_X_Window *focus_win = ecore_x_window_focus_get(); + Ecore_X_Window focus_win = ecore_x_window_focus_get(); if (focus_win) { if ((ecore_x_window_root_get(focus_win) == focus_win) || (!ecore_x_icccm_transient_for_get(focus_win))) e_grabinput_focus(e_comp->ee_win, E_FOCUS_METHOD_PASSIVE); } + else + e_grabinput_focus(e_comp->ee_win, E_FOCUS_METHOD_PASSIVE); } - */ } } |