mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Add missing gtk-primary-selection interfaces
This commit is contained in:
parent
0a171d3ace
commit
a95d09d561
6 changed files with 279 additions and 8 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <wlr/types/wlr_compositor.h>
|
||||
#include <wlr/types/wlr_cursor.h>
|
||||
#include <wlr/types/wlr_gamma_control.h>
|
||||
#include <wlr/types/wlr_primary_selection.h>
|
||||
#include <wlr/types/wlr_server_decoration.h>
|
||||
#include <wlr/types/wlr_output_layout.h>
|
||||
#include <wlr/types/wlr_wl_shell.h>
|
||||
|
|
@ -470,6 +471,8 @@ struct roots_desktop *desktop_create(struct roots_server *server,
|
|||
wlr_server_decoration_manager_set_default_mode(
|
||||
desktop->server_decoration_manager,
|
||||
WLR_SERVER_DECORATION_MANAGER_MODE_CLIENT);
|
||||
desktop->primary_selection_device_manager =
|
||||
wlr_primary_selection_device_manager_create(server->wl_display);
|
||||
|
||||
return desktop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue