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.
This commit is contained in:
save196
2026-10-26 15:49:23 +02:00
parent 4953b7ea0c
commit 4ecb2a9df5
-1
View File
@@ -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);
}