From 4ecb2a9df52bbcd9b59532709d62d72e8af155c7 Mon Sep 17 00:00:00 2001 From: save196 Date: Mon, 26 Oct 2026 14:52:05 +0200 Subject: [PATCH] fix the focused border color after leaving an unmanaged client Clients focused after an unmanaged client that wants focus didn't get the focused border color. Regression from 87029e2. --- dwl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dwl.c b/dwl.c index d5f2f98..737a175 100644 --- a/dwl.c +++ b/dwl.c @@ -1610,7 +1610,6 @@ focusclient(Client *c, LayerSurface *l, int lift) /* Don't change border color if there is an exclusive focus or we are * handling a drag operation */ if (!(old_l && old_l->layer_surface->current.keyboard_interactive == ZWLR_LAYER_SURFACE_V1_KEYBOARD_INTERACTIVITY_EXCLUSIVE) - && !(old_c && client_wants_focus(old_c)) && !seat->drag) client_set_border_color(c, focuscolor); }