Mode-set the output (fixes DRM backend)

This commit is contained in:
buffet 2020-07-30 19:41:08 +00:00
parent f8d95f2fd5
commit e5ce807d7e

View file

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