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.