From fc6d36405718e19946ba0b4c96dcbbb39b456eee Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 9 Feb 2024 10:04:13 +0100 Subject: Change parameters of Fl_Wayland_Window_Driver::delete_cursor() --- documentation/src/wayland.dox | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'documentation/src') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 4836f9c1f..56f47c208 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -996,16 +996,16 @@ struct wl_cursor { \endcode Function \c Fl_Wayland_Window_Driver::set_cursor_4args() also creates a struct wl_cursor object containing a single \c wl_cursor_image, which is in fact the \c cursor_image. -Finally, a struct custom_cursor_ (see \ref wld_window) is allocated and used to memorize +Finally, a struct Fl_Wayland_Window_Driver::custom_cursor (see \ref wld_window) is allocated and used to memorize the struct wl_cursor and the cursor's image and hotspot. -A pointer to this struct custom_cursor_ object is stored in member \c custom_cursor of the +A pointer to this struct Fl_Wayland_Window_Driver::custom_cursor object is stored in member \c custom_cursor of the window's \ref wld_window. Function \c Fl_Wayland_Window_Driver::set_cursor_4args() is also called when a window with a custom cursor is moved between distinct displays or when a display is rescaled to adapt the cursor size to the new display's scale factor. -Member function \c Fl_Wayland_Window_Driver::delete_cursor_() is used to delete any custom cursor +Static member function \c Fl_Wayland_Window_Driver::delete_cursor() is used to delete any custom cursor shape. This occurs when a window associated to a custom cursor is un-mapped and when such a window gets associated to a standard cursor or to a new custom cursor. @@ -1273,7 +1273,7 @@ struct wld_window { struct xdg_popup *xdg_popup; // for POPUP windows struct xdg_toplevel *xdg_toplevel; // for UNFRAMED windows }; - struct custom_cursor_ { + struct Fl_Wayland_Window_Driver::custom_cursor { struct wl_cursor *wl_cursor; const Fl_RGB_Image *rgb; int hotx, hoty; -- cgit v1.2.3