summaryrefslogtreecommitdiff
path: root/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-05 15:05:25 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-05 15:05:25 +0100
commit522728de8cf1d4f24ab5d56ab400b8d6676228b4 (patch)
treebf7595024fdcb59e4f6db4bc9726d2ed02eef161 /src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
parent11325da073a78b5a012e64b9732e253b50289763 (diff)
Wayland: use modern approach to cursor shapes with the "Cursor shape" protocol.
This removes the need to guess names of files each theme gives to cursor shapes and makes linking with dbus superfluous when the compositor supports the new protocol. The old, surface-based approach to cursor shapes remains used for custom shapes.
Diffstat (limited to 'src/drivers/Wayland/Fl_Wayland_Screen_Driver.H')
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
index 084e0c967..8ef7a1e10 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.H
@@ -2,7 +2,7 @@
// Definition of the Wayland Screen interface
// for the Fast Light Tool Kit (FLTK).
//
-// Copyright 2010-2024 by Bill Spitzak and others.
+// Copyright 2010-2026 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -110,6 +110,10 @@ public:
#if HAVE_XDG_DIALOG
struct xdg_wm_dialog_v1 *xdg_wm_dialog;
#endif
+#if HAVE_CURSOR_SHAPE
+ struct wp_cursor_shape_manager_v1 *wp_cursor_shape_manager;
+ struct wp_cursor_shape_device_v1 *wp_cursor_shape_device;
+#endif
// constructor
Fl_Wayland_Screen_Driver();