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
Failed to generate hash of commit

3
dwl.c
View file

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