3bea06b8
by Zhiyi Zhang at 2025-11-13T20:46:07+01:00
winex11.drv: Fix xinerama_get_fullscreen_monitors() not working correctly with non-fullscreen rects.
xinerama_get_fullscreen_monitors() was supposed to be called with fullscreen rects. Thus, we could
assume the monitor indices are all zero when there is only one monitor as an optimization. However,
after baf65867, xinerama_get_fullscreen_monitors() can be called with non-fullscreen rects. So we
need to remove the optimization so that it works correctly for non-fullscreen rects as well.
Fix the Guild Wars 2 game window having an offset in fullscreen mode.