mirror of
https://github.com/swaywm/sway.git
synced 2024-11-11 21:14:10 +01:00
Merge pull request #1776 from emersion/wlroots-remove-backend-egl
Update for wlroots#850
This commit is contained in:
commit
efff7c4225
@ -111,8 +111,7 @@ bool server_init(struct sway_server *server) {
|
|||||||
wlr_server_decoration_manager_set_default_mode(
|
wlr_server_decoration_manager_set_default_mode(
|
||||||
deco_manager, WLR_SERVER_DECORATION_MANAGER_MODE_SERVER);
|
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, renderer);
|
||||||
wlr_linux_dmabuf_create(server->wl_display, egl);
|
|
||||||
|
|
||||||
server->socket = wl_display_add_socket_auto(server->wl_display);
|
server->socket = wl_display_add_socket_auto(server->wl_display);
|
||||||
if (!server->socket) {
|
if (!server->socket) {
|
||||||
|
Loading…
Reference in New Issue
Block a user