summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-18 17:24:11 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-08-23 13:29:12 -0500
commitdfcd142ce4079d36f5a0a73f9104ba87c365ef12 (patch)
tree3f9d03846d61b25277b3fd546ccb978f81526440
parent07bf1832bf2c435107f4664c82efc756f3fdd784 (diff)
don't try to set monitor for clients in createmon()
this is done in updatemons()
-rw-r--r--dwl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/dwl.c b/dwl.c
index 3a044d3..ebb74b8 100644
--- a/dwl.c
+++ b/dwl.c
@@ -944,11 +944,6 @@ createmon(struct wl_listener *listener, void *data)
*/
m->scene_output = wlr_scene_output_create(scene, wlr_output);
wlr_output_layout_add_auto(output_layout, wlr_output);
-
- /* If there are clients without monitor set this as their monitor */
- wl_list_for_each(c, &clients, link)
- if (!c->mon)
- setmon(c, m, c->tags);
}
void