mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
server: support screen recording
Works with wf-recorder
This commit is contained in:
parent
d8e32040a5
commit
60f9624a19
1 changed files with 3 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
#include <wlr/types/wlr_data_control_v1.h>
|
#include <wlr/types/wlr_data_control_v1.h>
|
||||||
#include <wlr/types/wlr_gamma_control_v1.h>
|
#include <wlr/types/wlr_gamma_control_v1.h>
|
||||||
#include <wlr/types/wlr_primary_selection_v1.h>
|
#include <wlr/types/wlr_primary_selection_v1.h>
|
||||||
|
#include <wlr/types/wlr_xdg_output_v1.h>
|
||||||
|
|
||||||
static struct wlr_backend *backend;
|
static struct wlr_backend *backend;
|
||||||
static struct wlr_compositor *compositor;
|
static struct wlr_compositor *compositor;
|
||||||
|
|
@ -226,6 +227,8 @@ void server_init(struct server *server)
|
||||||
wlr_data_control_manager_v1_create(server->wl_display);
|
wlr_data_control_manager_v1_create(server->wl_display);
|
||||||
wlr_gamma_control_manager_v1_create(server->wl_display);
|
wlr_gamma_control_manager_v1_create(server->wl_display);
|
||||||
wlr_primary_selection_v1_device_manager_create(server->wl_display);
|
wlr_primary_selection_v1_device_manager_create(server->wl_display);
|
||||||
|
wlr_xdg_output_manager_v1_create(server->wl_display,
|
||||||
|
server->output_layout);
|
||||||
|
|
||||||
/* Init xwayland */
|
/* Init xwayland */
|
||||||
server->xwayland =
|
server->xwayland =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue