aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-21 14:08:48 +0100
committeremersion <contact@emersion.fr>2018-04-21 14:08:48 +0100
commitb96d774c7006075ab02e782d5d346f1ffccbeeeb (patch)
tree51a97f74119c37640dea381c39fc4812cbf13044 /sway
parent7d43cedc95a76cc4d466f76f0023383abd6ddab0 (diff)
Use wlr_renderer_init_wl_shm
Diffstat (limited to 'sway')
-rw-r--r--sway/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/server.c b/sway/server.c
index 11cb95c0..f67f44d8 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 =