From ffd4a89db03e2840bb20b69496241093182a30e7 Mon Sep 17 00:00:00 2001 From: Charlotte Meyer Date: Wed, 10 Jul 2019 22:11:14 +0200 Subject: [PATCH] Updated to wlr 0.6 --- kiwmi/desktop/output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiwmi/desktop/output.c b/kiwmi/desktop/output.c index 05e8835..0e80354 100644 --- a/kiwmi/desktop/output.c +++ b/kiwmi/desktop/output.c @@ -30,7 +30,7 @@ output_frame_notify(struct wl_listener *listener, void *data) struct wlr_renderer *renderer = wlr_backend_get_renderer(wlr_output->backend); - if (!wlr_output_make_current(wlr_output, NULL)) { + if (!wlr_output_attach_render(wlr_output, NULL)) { return; } @@ -46,7 +46,7 @@ output_frame_notify(struct wl_listener *listener, void *data) wlr_renderer_end(renderer); } - wlr_output_swap_buffers(wlr_output, NULL, NULL); + wlr_output_commit(wlr_output); } static void