diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-03-23 18:42:02 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-03-23 18:42:02 +0100 |
| commit | dcb4c39956092b6a4b9d8e0e85c2065099804119 (patch) | |
| tree | ed0fa1ca92c3c5ea1c84c4ac1b5b38ac92a594a5 /documentation | |
| parent | aebf2fec39640e2151d818e96f182af1cb3a63b3 (diff) | |
Wayland: remove compilation warning (#706)
drivers/Wayland/Fl_Wayland_Window_Driver.cxx:1515:47: warning: declaration ‘struct wld_window::custom_cursor’ does not declare anything
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/src/wayland.dox | 6 |
1 files changed, 3 insertions, 3 deletions
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 <tt>struct wl_cursor</tt> object containing a single \c wl_cursor_image, which is in fact the \c cursor_image. -Finally, a <tt>struct custom_cursor</tt> (see \ref wld_window) is allocated and used to memorize +Finally, a <tt>struct custom_cursor_</tt> (see \ref wld_window) is allocated and used to memorize the <tt>struct wl_cursor</tt> and the cursor's image and hotspot. -A pointer to this <tt>struct custom_cursor</tt> object is stored in member \c custom_cursor of the +A pointer to this <tt>struct custom_cursor_</tt> 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; |
