mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
remove unneeded check in focusclient()
This commit is contained in:
parent
8076b47cc6
commit
2ef5abfb72
1 changed files with 1 additions and 1 deletions
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 a new issue