aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-18 11:48:04 +0200
committeremersion <contact@emersion.fr>2018-09-18 11:48:04 +0200
commit3df602a62da5024bfa4e68f87355f789632973a1 (patch)
tree8b49ed3edd853acecb1bfd468d62d751ebca2075 /include/wlr
parent928572c14d98a1fc20ca66ed4dc74402586f385f (diff)
export-dmabuf: disable hardware cursors if desired
Also make the frame resource inert when sending "ready".
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_export_dmabuf_v1.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_export_dmabuf_v1.h b/include/wlr/types/wlr_export_dmabuf_v1.h
index 56767540..8669574d 100644
--- a/include/wlr/types/wlr_export_dmabuf_v1.h
+++ b/include/wlr/types/wlr_export_dmabuf_v1.h
@@ -9,6 +9,7 @@
#ifndef WLR_TYPES_WLR_EXPORT_DMABUF_V1_H
#define WLR_TYPES_WLR_EXPORT_DMABUF_V1_H
+#include <stdbool.h>
#include <wayland-server.h>
#include <wlr/render/dmabuf.h>
@@ -22,6 +23,8 @@ struct wlr_export_dmabuf_frame_v1 {
struct wlr_dmabuf_attributes attribs;
struct wlr_output *output;
+ bool cursor_locked;
+
struct wl_listener output_swap_buffers;
};