update comment about exclusive focus in focusclient()

This commit is contained in:
Leonardo Hernández Hernández 2022-10-15 18:09:42 -05:00
parent 2d9d758c8d
commit 110cde8f67
No known key found for this signature in database
GPG key ID: E538897EE11B9624

3
dwl.c
View file

@ -1175,8 +1175,7 @@ focusclient(Client *c, int lift)
c->isurgent = 0;
client_restack_surface(c);
/* Don't change border color if there is a exclusive focus
* (at this moment it means that a layer surface is focused) */
/* Don't change border color if there is an exclusive focus */
if (!exclusive_focus)
for (i = 0; i < 4; i++)
wlr_scene_rect_set_color(c->border[i], focuscolor);