diff options
author | Dudemanguy <random342@airmail.cc> | 2023-05-19 17:07:25 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-09 18:10:19 +0000 |
commit | 589da09e5a9f3bebf0fe3e81f191f988fd85ecc2 (patch) | |
tree | fd4e8b305588abb543248cb83344978b2511a010 /video/out/wayland_common.h | |
parent | fc3e28f1e9be65e4c41812a84e86fbade7317847 (diff) | |
download | mpv-589da09e5a9f3bebf0fe3e81f191f988fd85ecc2.tar.bz2 mpv-589da09e5a9f3bebf0fe3e81f191f988fd85ecc2.tar.xz |
wayland: add cursor-shape-v1 support
This protocol no longer requires us to draw a separate cursor surface
and all of that horrible stuff. We can just ask the compositor for the
default cursor instead since that's literally all mpv cares about.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index 32394a24a0..1a26c7faaa 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -88,6 +88,11 @@ struct vo_wayland_state { void *content_type; int current_content_type; + /* cursor-shape */ + /* TODO: unvoid these if required wayland protocols is bumped to 1.32+ */ + void *cursor_shape_manager; + void *cursor_shape_device; + /* fractional-scale */ /* TODO: unvoid these if required wayland protocols is bumped to 1.31+ */ void *fractional_scale_manager; |