From dcb4c39956092b6a4b9d8e0e85c2065099804119 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 23 Mar 2023 18:42:02 +0100 Subject: Wayland: remove compilation warning (#706) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drivers/Wayland/Fl_Wayland_Window_Driver.cxx:1515:47: warning: declaration ‘struct wld_window::custom_cursor’ does not declare anything --- documentation/src/wayland.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/src') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 05ceafb14..c928c2dd3 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -588,9 +588,9 @@ 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 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 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 @@ -823,7 +823,7 @@ struct wld_window { struct xdg_popup *xdg_popup; // for POPUP windows struct xdg_toplevel *xdg_toplevel; // for UNFRAMED windows }; - struct custom_cursor { + struct custom_cursor_ { struct wl_cursor *wl_cursor; const Fl_RGB_Image *rgb; int hotx, hoty; -- cgit v1.2.3