aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-19 19:07:29 +0100
committeremersion <contact@emersion.fr>2018-06-30 22:17:59 +0100
commit73755ad348657fdf8d9e0f9a48ee13a2ab947e35 (patch)
tree92eea1b7076e38a38792b7ff222bd9a51975c823 /include/rootston
parent02dfa9101ec7fd8328ed329d2f2faa815b1ad61c (diff)
screencopy-v1: add basic implementation
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/desktop.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rootston/desktop.h b/include/rootston/desktop.h
index dfe070ca..88c5ca90 100644
--- a/include/rootston/desktop.h
+++ b/include/rootston/desktop.h
@@ -22,6 +22,7 @@
#include <wlr/types/wlr_list.h>
#include <wlr/types/wlr_idle.h>
#include <wlr/types/wlr_idle_inhibit_v1.h>
+#include <wlr/types/wlr_screencopy_v1.h>
#include "rootston/view.h"
#include "rootston/config.h"
#include "rootston/output.h"
@@ -54,6 +55,7 @@ struct roots_desktop {
struct wlr_linux_dmabuf *linux_dmabuf;
struct wlr_layer_shell *layer_shell;
struct wlr_virtual_keyboard_manager_v1 *virtual_keyboard;
+ struct wlr_screencopy_manager_v1 *screencopy;
struct wl_listener new_output;
struct wl_listener layout_change;