]> git.sur5r.net Git - i3/i3/commitdiff
Force WM_TAKE_FOCUS event to be sent when clicking
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Apr 2012 14:22:58 +0000 (16:22 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 7 Apr 2012 14:24:53 +0000 (16:24 +0200)
This fixes more problems with Eclipse.
See also commit 1962c30dfb3baee0fb98589aca575ae54d1142e0

src/click.c

index f998818bc441b3bbed407549182ad473edfd6421..04f8d2eda53f42723d79c6d3ef812ac518f937ec 100644 (file)
@@ -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.