Force WM_TAKE_FOCUS event to be sent again upon EnterNotify
This fixes focus problems with Eclipse. Apparently, Eclipse waits for getting notified about the focus, and since it used non-managed windows, i3 didn’t care to update the focus. Fixes: #621, #675
This commit is contained in:
parent
ea97119a76
commit
1962c30dfb
|
@ -233,6 +233,7 @@ static int handle_enter_notify(xcb_enter_notify_event_t *event) {
|
||||||
if (ws != con_get_workspace(focused))
|
if (ws != con_get_workspace(focused))
|
||||||
workspace_show(ws);
|
workspace_show(ws);
|
||||||
|
|
||||||
|
focused_id = XCB_NONE;
|
||||||
con_focus(con_descend_focused(con));
|
con_focus(con_descend_focused(con));
|
||||||
tree_render();
|
tree_render();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue