remove unneeded call to wlr_scene_rect_set_color()

wlr_scene_rect_create() requires a color as parameter
This commit is contained in:
Leonardo Hernández Hernández 2022-12-05 23:06:53 -06:00
parent b6d6127733
commit 13b929d7d7
No known key found for this signature in database
GPG key ID: E538897EE11B9624

1
dwl.c
View file

@ -1361,7 +1361,6 @@ mapnotify(struct wl_listener *listener, void *data)
for (i = 0; i < 4; i++) { for (i = 0; i < 4; i++) {
c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor); c->border[i] = wlr_scene_rect_create(c->scene, 0, 0, bordercolor);
c->border[i]->node.data = c; c->border[i]->node.data = c;
wlr_scene_rect_set_color(c->border[i], bordercolor);
} }
/* Initialize client geometry with room for border */ /* Initialize client geometry with room for border */