Update for wlroots#850

This commit is contained in:
emersion 2018-04-08 11:19:14 -04:00
parent e10dc77fc6
commit 9570e37016
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -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) {