mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-20 12:34:18 +02:00
Add support for primary selection device protocol
- Fix issue in which copying from firefox fails
This commit is contained in:
parent
00c9c4bb65
commit
b649529f67
1 changed files with 7 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
#include <wlr/types/wlr_compositor.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_data_control_v1.h>
|
||||
#include <wlr/types/wlr_primary_selection_v1.h>
|
||||
#include <wlr/types/wlr_data_device.h>
|
||||
#include <wlr/types/wlr_export_dmabuf_v1.h>
|
||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue