mirror of
https://github.com/swaywm/sway.git
synced 2026-04-25 06:46:24 -04:00
wip: add support for linux-dmabuf-unstable-v1 minor version 4
References: https://github.com/swaywm/wlroots/pull/1376
This commit is contained in:
parent
d71fed95da
commit
14c280febd
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue