]> git.sur5r.net Git - i3/i3/commitdiff
Partially revert "Fix incorrect merge *sigh*" 3171/head
authorMichael Stapelberg <stapelberg@users.noreply.github.com>
Sat, 10 Mar 2018 20:44:04 +0000 (21:44 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 10 Mar 2018 20:45:42 +0000 (21:45 +0100)
src/handlers.c

index 50fd85669223267e123a97ebe5bdfea09c9ab1e3..e1671c3b4bec2df918fdf70d89d38a29ee77c0d1 100644 (file)
@@ -1207,14 +1207,6 @@ static bool handle_clientleader_change(void *data, xcb_connection_t *conn, uint8
  */
 static void handle_focus_in(xcb_focus_in_event_t *event) {
     DLOG("focus change in, for window 0x%08x\n", event->event);
-
-    if (event->event == root) {
-        DLOG("Received focus in for root window, refocusing the focused window.\n");
-        con_focus(focused);
-        focused_id = XCB_NONE;
-        x_push_changes(croot);
-    }
-
     Con *con;
     if ((con = con_by_window_id(event->event)) == NULL || con->window == NULL)
         return;