From: Michael Stapelberg Date: Sat, 7 Apr 2012 14:22:58 +0000 (+0200) Subject: Force WM_TAKE_FOCUS event to be sent when clicking X-Git-Tag: 4.2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=250577da367fd163e9c1760b5902c26ec2b79ca8;p=i3%2Fi3 Force WM_TAKE_FOCUS event to be sent when clicking This fixes more problems with Eclipse. See also commit 1962c30dfb3baee0fb98589aca575ae54d1142e0 --- diff --git a/src/click.c b/src/click.c index f998818b..04f8d2ed 100644 --- a/src/click.c +++ b/src/click.c @@ -207,6 +207,7 @@ static int route_click(Con *con, xcb_button_press_event_t *event, const bool mod if (ws != focused_workspace) workspace_show(ws); + focused_id = XCB_NONE; con_focus(con); /* 3: For floating containers, we also want to raise them on click.