mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
export-dmabuf: disable hardware cursors if desired
Also make the frame resource inert when sending "ready".
This commit is contained in:
parent
928572c14d
commit
3df602a62d
3 changed files with 28 additions and 3 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue