remove unneeded check in focusclient()

This commit is contained in:
Leonardo Hernández Hernández 2022-06-16 15:36:27 -05:00
parent 8076b47cc6
commit 2ef5abfb72
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
1 changed files with 1 additions and 1 deletions

2
dwl.c
View File

@ -1152,7 +1152,7 @@ focusclient(Client *c, int lift)
return;
} else {
Client *w;
if (old->role_data && (w = client_from_wlr_surface(old)))
if ((w = client_from_wlr_surface(old)))
for (i = 0; i < 4; i++)
wlr_scene_rect_set_color(w->border[i], bordercolor);