remove unneeded check in focusclient()
This commit is contained in:
parent
8076b47cc6
commit
2ef5abfb72
2
dwl.c
2
dwl.c
@ -1152,7 +1152,7 @@ focusclient(Client *c, int lift)
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
Client *w;
|
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++)
|
for (i = 0; i < 4; i++)
|
||||||
wlr_scene_rect_set_color(w->border[i], bordercolor);
|
wlr_scene_rect_set_color(w->border[i], bordercolor);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user