~ruther/dwl

4ecb2a9df52bbcd9b59532709d62d72e8af155c7 — save196 a month ago 4953b7e
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.
1 files changed, 0 insertions(+), 1 deletions(-)

M dwl.c
M dwl.c => dwl.c +0 -1
@@ 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);
	}