aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 23:06:53 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 23:06:53 -0600
commit13b929d7d79a7142901d0e7035806ee7f3b7af9d (patch)
treeba735720083c8005d1d313269b0903f76bef2465
parentb6d6127733ea5f96db57a9f47fa4a6134a868a19 (diff)
remove unneeded call to wlr_scene_rect_set_color()
wlr_scene_rect_create() requires a color as parameter
-rw-r--r--dwl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index 2a8162c..c304256 100644
--- a/dwl.c
+++ b/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 */