5 Apr
2023
5 Apr
'23
6:47 p.m.
Rémi Bernon (@rbernon) commented about dlls/winex11.drv/display.c:
asciiz_to_unicode( devname, buffer ); if (!settings_handler.get_id( devname, is_primary, &settings_id )) break;
- settings_handler.get_current_mode( settings_id, ¤t_mode ); + /* Get the current mode, but only if we are not not using the desktop + * handler, since the desktop handler get_current_mode() recurses into + * win32u. */ + if (handler != &desktop_handler)
It's probably better to use `is_virtual_desktop()` for consistency, though I don't know if that's enough. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2593#note_29055