aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-09-11 13:15:31 +0200
committerGuido Cella <guidocella91@gmail.com>2020-09-11 13:15:31 +0200
commite4d58c39e0b9e952e31661fc2a9d6e043928b729 (patch)
treefc505b7790e7452fe86337d9b357354e17f66dc0
parentfbd905155aa1f7e33b3f7d4a54a3312166902335 (diff)
remove braces
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index 0d92d35..cb2c241 100644
--- a/dwl.c
+++ b/dwl.c
@@ -819,9 +819,8 @@ createmon(struct wl_listener *listener, void *data)
wlr_output_layout_add_auto(output_layout, wlr_output);
sgeom = *wlr_output_layout_get_box(output_layout, NULL);
- for (size_t i = 0; i < nlayers; ++i) {
+ for (size_t i = 0; i < nlayers; ++i)
wl_list_init(&m->layers[i]);
- }
/* Get effective monitor geometry to use for window area */
wl_list_for_each(m, &mons, link) {