Mode-set the output (fixes DRM backend)

This commit is contained in:
buffet 2020-07-30 19:41:08 +00:00
parent 39f9a54a71
commit 181ad7eea3

View file

@ -245,6 +245,7 @@ new_output_notify(struct wl_listener *listener, void *data)
struct wlr_output_mode *mode =
wl_container_of(wlr_output->modes.prev, mode, link);
wlr_output_set_mode(wlr_output, mode);
wlr_output_commit(wlr_output);
}
struct kiwmi_output *output = output_create(wlr_output, desktop);