From 010e86605da30e03b8cc89a5418af48df5c76a0e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 10 Mar 2018 21:44:04 +0100 Subject: [PATCH] Partially revert "Fix incorrect merge *sigh*" --- src/handlers.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/handlers.c b/src/handlers.c index 50fd8566..e1671c3b 100644 --- a/src/handlers.c +++ b/src/handlers.c @@ -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;