aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-10-18 14:55:26 +0200
committerSimon Ser <contact@emersion.fr>2024-01-04 08:21:33 +0100
commit7e69a7076fc8a4eb788e0229b1c99dd0b7b04bb7 (patch)
treeae969b6cf341f88e12397014a23b02f3420dd218
parentfa294a9094b673e99e5de0c456dc5a6b9ff7db55 (diff)
Drop wl_drm
See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4397
-rw-r--r--sway/server.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sway/server.c b/sway/server.c
index 69a9f27e..e34ea2ff 100644
--- a/sway/server.c
+++ b/sway/server.c
@@ -13,7 +13,6 @@
#include <wlr/types/wlr_content_type_v1.h>
#include <wlr/types/wlr_cursor_shape_v1.h>
#include <wlr/types/wlr_data_control_v1.h>
-#include <wlr/types/wlr_drm.h>
#include <wlr/types/wlr_export_dmabuf_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h>
#include <wlr/types/wlr_gamma_control_v1.h>
@@ -178,7 +177,6 @@ bool server_init(struct sway_server *server) {
wlr_renderer_init_wl_shm(server->renderer, server->wl_display);
if (wlr_renderer_get_dmabuf_texture_formats(server->renderer) != NULL) {
- wlr_drm_create(server->wl_display, server->renderer);
server->linux_dmabuf_v1 = wlr_linux_dmabuf_v1_create_with_renderer(
server->wl_display, 4, server->renderer);
}