diff options
author | nanahi <130121847+na-na-hi@users.noreply.github.com> | 2024-02-13 01:51:19 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-02-17 16:09:41 +0000 |
commit | fb33bb7fc4aec809f05235a08ab41b918f3f160e (patch) | |
tree | 15e6e36e9ce36742b7b1c889818e7209486d6da9 /video/out/wayland_common.h | |
parent | b441a5dd1ff6de9dba5eedac6a014ca11d97d8f2 (diff) | |
download | mpv-fb33bb7fc4aec809f05235a08ab41b918f3f160e.tar.bz2 mpv-fb33bb7fc4aec809f05235a08ab41b918f3f160e.tar.xz |
wayland_common: drop shape device check when spawning cursor
It's only necessary to check the existance of cursor_shape_manager.
Also drop the pointer check to handle multi-seat since a removed seat
sets the cursor_seat to NULL.
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r-- | video/out/wayland_common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h index befc7edc8b..1d5b2a21d2 100644 --- a/video/out/wayland_common.h +++ b/video/out/wayland_common.h @@ -22,8 +22,6 @@ #include "input/event.h" #include "vo.h" -struct vo_wayland_seat; - typedef struct { uint32_t format; uint32_t padding; @@ -158,7 +156,6 @@ struct vo_wayland_state { struct wl_surface *cursor_surface; bool cursor_visible; int allocated_cursor_scale; - struct vo_wayland_seat *cursor_seat; }; bool vo_wayland_check_visible(struct vo *vo); |