From 16338ff4e4e3a255a954d6efd61464d82196092a Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 25 Mar 2023 16:40:52 +0100 Subject: 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. --- src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers') 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; -- cgit v1.2.3