summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-25 16:40:52 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-03-25 16:40:52 +0100
commit16338ff4e4e3a255a954d6efd61464d82196092a (patch)
tree0c65d4df056ef8fdc96fcc669203f44c60d0793e
parent9c53d84cebf0bb4d5d58f79095c3f77080e455ae (diff)
Wayland: remove compilation warning (#706) - cont'd
The previous attempt to fix this issue in commit dcb4c39956092b6a4b9d8e0e85c2065099804119 missed to remove the keyword 'struct' in the offending statement. This new commit actually removes the compiler warning.
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 9dad205cb..f5be28ab9 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1521,7 +1521,7 @@ int Fl_Wayland_Window_Driver::set_cursor_4args(const Fl_RGB_Image *rgb, int hotx
// delete the previous custom cursor, if there was one, and keep its Fl_RGB_Image if appropriate
delete_cursor_(xid, keep_copy);
//have this new cursor used
- xid->custom_cursor = new struct wld_window::custom_cursor_;
+ xid->custom_cursor = new wld_window::custom_cursor_;
xid->custom_cursor->wl_cursor = new_cursor;
xid->custom_cursor->rgb = rgb;
xid->custom_cursor->hotx = hotx;