From b649529f67e28485f252dfbbe929c758942e8928 Mon Sep 17 00:00:00 2001 From: project-repo Date: Thu, 5 May 2022 21:37:09 +0200 Subject: [PATCH] Add support for primary selection device protocol - Fix issue in which copying from firefox fails --- cagebreak.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cagebreak.c b/cagebreak.c index d480b70..59fb4f1 100644 --- a/cagebreak.c +++ b/cagebreak.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -503,6 +504,12 @@ main(int argc, char *argv[]) { goto end; } + if(!wlr_primary_selection_v1_device_manager_create(server.wl_display)) { + wlr_log(WLR_ERROR, "Unable to create the primary selection device manager"); + ret = 1; + goto end; + } + gamma_control_manager = wlr_gamma_control_manager_v1_create(server.wl_display); if(!gamma_control_manager) {