export-dmabuf: disable hardware cursors if desired

Also make the frame resource inert when sending "ready".
This commit is contained in:
emersion 2018-09-18 11:48:04 +02:00
parent 928572c14d
commit 3df602a62d
3 changed files with 28 additions and 3 deletions

View file

@ -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;
};