Alexandre Julliard pushed to branch master at wine / wine
Commits: a058bd71 by Zhiyi Zhang at 2025-01-13T09:48:51+01:00 winex11.drv: Fix display name in X11DRV_UpdateDisplayDevices().
For example, when GPU 1 has adapter 1 and GPU 2 has adapter 2, without this fix, the `adapter` variable in the for loop is always zero when forming GDI display names \.\DISPLAY* because these two adapters are on different GPUs. Thus "\.\DISPLAY1" is incorrectly passed to xrandr14_get_id() for the second adapter and eventually gets the wrong current display mode for the second adapter.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=57610
- - - - -
1 changed file:
- dlls/winex11.drv/display.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/a058bd714f4a70f2b3df6527096126a...