1 Mar
2024
1 Mar
'24
7:52 a.m.
Alexandros Frantzis (@afrantzis) commented about dlls/winewayland.drv/window.c:
+/***************************************************************** + * WAYLAND_SetWindowText + */ +void WAYLAND_SetWindowText(HWND hwnd, LPCWSTR text) +{ + struct wayland_surface *surface = wayland_surface_lock_hwnd(hwnd); + + TRACE("hwnd=%p text=%s\n", hwnd, wine_dbgstr_w(text)); + + if (surface) + { + if (surface->xdg_toplevel) wayland_surface_set_title(surface, text); + pthread_mutex_unlock(&surface->mutex); + } +
Stray blank line. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5178#note_63153