call updatemons() when createmon() leaves an output disabled This lets you enable it later. Fixes afbafd5.
1 files changed, 3 insertions(+), 1 deletions(-) M dwl.c
M dwl.c => dwl.c +3 -1
@@ 1263,8 1263,10 @@ createmon(struct wl_listener *listener, void *data) */ m->scene_output = wlr_scene_output_create(scene, wlr_output); if (!wlr_output->enabled) if (!wlr_output->enabled) { updatemons(NULL, NULL); return; } if (m->m.x == -1 && m->m.y == -1) wlr_output_layout_add_auto(output_layout, wlr_output);