wip: add support for linux-dmabuf-unstable-v1 minor version 4

References: https://github.com/swaywm/wlroots/pull/1376
This commit is contained in:
Simon Ser 2020-04-03 19:33:06 +02:00
parent d71fed95da
commit 14c280febd
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -16,6 +16,7 @@
#include <wlr/types/wlr_gtk_primary_selection.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_layer_shell_v1.h>
#include <wlr/types/wlr_linux_dmabuf_v1.h>
#include <wlr/types/wlr_pointer_constraints_v1.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_relative_pointer_v1.h>
@ -146,6 +147,7 @@ bool server_init(struct sway_server *server) {
wlr_screencopy_manager_v1_create(server->wl_display);
wlr_data_control_manager_v1_create(server->wl_display);
wlr_primary_selection_v1_device_manager_create(server->wl_display);
wlr_linux_dmabuf_v1_create(server->wl_display, server->backend, renderer);
server->socket = wl_display_add_socket_auto(server->wl_display);
if (!server->socket) {