Force WM_TAKE_FOCUS event to be sent when clicking
This fixes more problems with Eclipse.
See also commit 1962c30dfb
This commit is contained in:
parent
07d4dfe387
commit
b0b03eedd3
|
@ -207,6 +207,7 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod
|
||||||
|
|
||||||
if (ws != focused_workspace)
|
if (ws != focused_workspace)
|
||||||
workspace_show(ws);
|
workspace_show(ws);
|
||||||
|
focused_id = XCB_NONE;
|
||||||
con_focus(con);
|
con_focus(con);
|
||||||
|
|
||||||
/* 3: For floating containers, we also want to raise them on click.
|
/* 3: For floating containers, we also want to raise them on click.
|
||||||
|
|
Loading…
Reference in New Issue