From f6b87790ccf201cafbb5b6b0347cc365dfe4d265 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 15 Feb 2023 22:52:20 +0100 Subject: Wayland: new struct wl_cursor *custom_cursor member variable --- documentation/src/wayland.dox | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 90210fa21..8c872cb59 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -665,6 +665,7 @@ for each shown()'n Fl_Window by \c Fl_Wayland_Window_Driver::makeWindow(). Function \c fl_wl_xid(Fl_Window*) returns a pointer to the struct wld_window of its argument.
struct wld_window {
+ Fl_Window *fl_win;
struct wl_list outputs; // linked list of outputs where this surface is mapped
struct wl_surface *wl_surface; // the window's surface
struct fl_wld_buffer *buffer; // see \ref fl_wld_buffer
@@ -675,7 +676,7 @@ struct wld_window {
struct xdg_popup *xdg_popup; // for POPUP windows
struct xdg_toplevel *xdg_toplevel; // for UNFRAMED windows
};
- Fl_Window *fl_win;
+ struct wl_cursor *custom_cursor; // non-null when using custom cursor
enum Fl_Wayland_Window_Driver::kind kind; // DECORATED or POPUP or SUBWINDOW or UNFRAMED
int configured_width; // used when negotiating window size with the compositor
int configured_height;
--
cgit v1.2.3