don't try to set monitor for clients in createmon()
this is done in updatemons()
This commit is contained in:
parent
07bf1832bf
commit
dfcd142ce4
1 changed files with 0 additions and 5 deletions
5
dwl.c
5
dwl.c
|
@ -944,11 +944,6 @@ createmon(struct wl_listener *listener, void *data)
|
||||||
*/
|
*/
|
||||||
m->scene_output = wlr_scene_output_create(scene, wlr_output);
|
m->scene_output = wlr_scene_output_create(scene, wlr_output);
|
||||||
wlr_output_layout_add_auto(output_layout, 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
|
void
|
||||||
|
|
Loading…
Reference in a new issue