summaryrefslogtreecommitdiff
path: root/gdk/wayland/gdkdisplay-wayland.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/wayland/gdkdisplay-wayland.h')
-rw-r--r--gdk/wayland/gdkdisplay-wayland.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/gdk/wayland/gdkdisplay-wayland.h b/gdk/wayland/gdkdisplay-wayland.h
index 925476a781..5ac80ee2e6 100644
--- a/gdk/wayland/gdkdisplay-wayland.h
+++ b/gdk/wayland/gdkdisplay-wayland.h
@@ -25,7 +25,6 @@
#include <config.h>
#include <stdint.h>
#include <wayland-client.h>
-#include <wayland-cursor.h>
#include <wayland-egl.h>
#include <gdk/wayland/tablet-unstable-v2-client-protocol.h>
#include <gdk/wayland/gtk-shell-client-protocol.h>
@@ -39,6 +38,7 @@
#ifdef HAVE_XDG_ACTIVATION
#include <gdk/wayland/xdg-activation-v1-client-protocol.h>
#endif
+#include <gdk/wayland/cursor/wayland-cursor.h>
#include <glib.h>
#include <gdk/gdkkeys.h>
@@ -52,9 +52,6 @@
G_BEGIN_DECLS
-#define GDK_WAYLAND_MAX_THEME_SCALE 4
-#define GDK_WAYLAND_THEME_SCALES_COUNT GDK_WAYLAND_MAX_THEME_SCALE
-
#define GDK_ZWP_POINTER_GESTURES_V1_VERSION 1
typedef struct _GdkWaylandSelection GdkWaylandSelection;
@@ -119,7 +116,7 @@ struct _GdkWaylandDisplay
GList *current_popups;
- struct wl_cursor_theme *scaled_cursor_themes[GDK_WAYLAND_THEME_SCALES_COUNT];
+ struct wl_cursor_theme *cursor_theme;
gchar *cursor_theme_name;
int cursor_theme_size;
GHashTable *cursor_cache;