spkp

Stacking wayland compositor
git clone git://git.z3bra.org/sp:kp.git
Log | Files | Refs

commit c356c7edc7373730b99f3efff6e95390acbd5d79
parent defdbccdad0b990f31f2e45919da191aab87374a
Author: Willy Goiffon <dev@z3bra.org>
Date:   Fri, 13 Nov 2020 23:21:19 +0100

Enable output on start for DRM mode

Diffstat:
Mcompositor.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/compositor.c b/compositor.c @@ -273,6 +273,9 @@ cb_new_output(struct wl_listener *listener, void *data) if (!wl_list_empty(&wlr_output->modes)) { mode = wl_container_of(wlr_output->modes.prev, mode, link); wlr_output_set_mode(wlr_output, mode); + wlr_output_enable(wlr_output, true); + if (!wlr_output_commit(wlr_output)) + return; } output = calloc(1, sizeof(*output));