mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
remove unneeded call to wlr_scene_rect_set_color()
wlr_scene_rect_create() requires a color as parameter
This commit is contained in:
parent
b6d6127733
commit
13b929d7d7
1 changed files with 0 additions and 1 deletions
1
dwl.c
1
dwl.c
|
@ -1361,7 +1361,6 @@ mapnotify(struct wl_listener *listener, void *data)
|
|||
for (i = 0; i < 4; i++) {
|
||||
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);
|
||||
c->border[i]->node.data = c;
|
||||
wlr_scene_rect_set_color(c->border[i], bordercolor);
|
||||
}
|
||||
|
||||
/* Initialize client geometry with room for border */
|
||||
|
|
Loading…
Reference in a new issue