diff options
author | 2018-04-21 15:22:08 +0200 | |
---|---|---|
committer | 2018-04-21 15:22:08 +0200 | |
commit | 72149111a5743febf4c538220478eb0f1d696ed0 (patch) | |
tree | d5339c175864bd88ef6d03e53880fd9d3548189c /sway | |
parent | Merge pull request #1837 from emersion/cursor-default-to-current-time (diff) | |
parent | Use wlr_renderer_init_wl_shm (diff) | |
download | sway-72149111a5743febf4c538220478eb0f1d696ed0.tar.gz sway-72149111a5743febf4c538220478eb0f1d696ed0.tar.zst sway-72149111a5743febf4c538220478eb0f1d696ed0.zip |
Merge pull request #1838 from emersion/use-wlr-renderer-init-wl-shm
Use wlr_renderer_init_wl_shm
Diffstat (limited to 'sway')
-rw-r--r-- | sway/server.c | 2 |
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) { | |||
51 | struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend); | 51 | struct wlr_renderer *renderer = wlr_backend_get_renderer(server->backend); |
52 | assert(renderer); | 52 | assert(renderer); |
53 | 53 | ||
54 | wl_display_init_shm(server->wl_display); | 54 | wlr_renderer_init_wl_shm(renderer, server->wl_display); |
55 | 55 | ||
56 | server->compositor = wlr_compositor_create(server->wl_display, renderer); | 56 | server->compositor = wlr_compositor_create(server->wl_display, renderer); |
57 | server->data_device_manager = | 57 | server->data_device_manager = |