Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/wayland_surface.c:
if (surface->big_icon_buffer && type == ICON_BIG){wayland_shm_buffer_unref(surface->big_icon_buffer);surface->big_icon_buffer = NULL;}else if (surface->small_icon_buffer && type != ICON_BIG){wayland_shm_buffer_unref(surface->small_icon_buffer);surface->small_icon_buffer = NULL;}surface->xdg_toplevel_icon = NULL;- }
- if (icon_buf)
- {
surface->xdg_toplevel_icon = xdg_toplevel_icon_manager_v1_create_icon(process_wayland.xdg_toplevel_icon_manager_v1);
Shorter line: ```suggestion:-0+0 surface->xdg_toplevel_icon = xdg_toplevel_icon_manager_v1_create_icon(process_wayland.xdg_toplevel_icon_manager_v1); ```