aboutsummaryrefslogtreecommitdiff
path: root/sway/server.c
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-08 12:47:56 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-08 12:47:56 -0400
commitae78f6fb9383392915421784cb97910bbbfb60f2 (patch)
treeec7daa6d31dfc6cbe3ff8e9db1bba2754077eedb /sway/server.c
parent70b33342fec0e0cc720cbb62a059c40a34c5314f (diff)
parentebabcc8b44846eaccdd34e3e48aa07d6bf7b58a7 (diff)
downloadsway-ae78f6fb9383392915421784cb97910bbbfb60f2.tar.xz
Merge branch 'wlroots' into focus-inactive-fixes
Diffstat (limited to 'sway/server.c')
-rw-r--r--sway/server.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/server.c b/sway/server.c
index 0e98b5f9..c1125f14 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -111,8 +111,7 @@ bool server_init(struct sway_server *server) {
wlr_server_decoration_manager_set_default_mode(
deco_manager, WLR_SERVER_DECORATION_MANAGER_MODE_SERVER);
- struct wlr_egl *egl = wlr_backend_get_egl(server->backend);
- wlr_linux_dmabuf_create(server->wl_display, egl);
+ wlr_linux_dmabuf_create(server->wl_display, renderer);
server->socket = wl_display_add_socket_auto(server->wl_display);
if (!server->socket) {