29 Aug
2024
29 Aug
'24
4:05 a.m.
Alex Henrie (@alexhenrie) commented about programs/explorer/systray.c:
icon_cx = GetSystemMetrics( SM_CXSMICON ) + 2*ICON_BORDER; icon_cy = GetSystemMetrics( SM_CYSMICON ) + 2*ICON_BORDER; show_systray = arg_show_systray; - enable_shell = arg_enable_shell; - enable_taskbar = enable_shell || !using_root; + enable_taskbar = arg_enable_shell; + enable_dock = using_root && arg_show_systray && !arg_enable_shell;
`&& !arg_enable_shell` can be omitted because [if using_root is true, arg_enable_shell is false](https://gitlab.winehq.org/wine/wine/-/blob/e3d2620bdf6f8e91a5ccf5904f256a55a...). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6367#note_80359