wayland: cursor-shape-v1 is now always available

Since we're requiring wayland-protocols >= 1.32
This commit is contained in:
Daniel Eklöf 2023-07-31 16:33:16 +02:00
parent 7eee415b75
commit 698c5b54f3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
10 changed files with 7 additions and 66 deletions

View file

@ -1,8 +1,6 @@
#pragma once
#if defined(HAVE_CURSOR_SHAPE)
#include <cursor-shape-v1.h>
#endif
enum cursor_shape {
CURSOR_SHAPE_NONE,
@ -26,9 +24,7 @@ enum cursor_shape {
const char *cursor_shape_to_string(enum cursor_shape shape);
#if defined(HAVE_CURSOR_SHAPE)
enum wp_cursor_shape_device_v1_shape cursor_shape_to_server_shape(
enum cursor_shape shape);
enum wp_cursor_shape_device_v1_shape cursor_string_to_server_shape(
const char *xcursor);
#endif