From b96d774c7006075ab02e782d5d346f1ffccbeeeb Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 21 Apr 2018 14:08:48 +0100 Subject: [PATCH] Use wlr_renderer_init_wl_shm --- sway/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway/server.c b/sway/server.c index 11cb95c08..f67f44d85 100644 --- a/sway/server.c +++ b/sway/server.c @@ -51,7 +51,7 @@ bool server_init(struct sway_server *server) { struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend); assert(renderer); - wl_display_init_shm(server->wl_display); + wlr_renderer_init_wl_shm(renderer, server->wl_display); server->compositor = wlr_compositor_create(server->wl_display, renderer); server->data_device_manager =