aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-30 23:10:25 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-01-30 23:10:25 +0000
commit91770e35f860e58ef08bbe927050c3c9986727d2 (patch)
tree26c7ef5ce86d4ea8c8d82c9623b482f736ba5ab9
parente focus - fix issue that affects qt popup menus e.g. in telegram (diff)
downloadenlightenment-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_comp_x.c b/src/bin/e_comp_x.c
index 705daa5a3..37a631e53 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);
}
- */
}
}