Commit ebca254
committed
HACK: winex11.drv: Enable the FULLSCREEN_PRESERVE_WINDOW_SIZE hack for RiME.
After 2d25b07, windows larger than the monitor size are also considered fullscreen. The game
changes resolution by first changing the size of the main window, and then changing the resolution.
For example, when switching from 1920x800 to 1920x1080, the game first changes the main window from
1920x800 to 1920x1080 and then changes the resolution to 1920x1080. However, the game is also picky
about its fullscreen window size. With 2d25b07, after the main window becomes 1920x1080 and before
the resolution is changed to 1920x1080, X11DRV_ConfigureNotify() changes the size of the main window
back to 1920x800 because the fullscreen hack is considered enabled for the window. The game sees
that its main window changes and will issue another resolution change to 1920x800 after changing to
1920x1080, giving the impression that the resolution change is unsuccessful.
CW-Bug-Id: #241971 parent 9455631 commit ebca254
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | | - | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
1225 | 1227 | | |
1226 | | - | |
| 1228 | + | |
1227 | 1229 | | |
1228 | 1230 | | |
1229 | 1231 | | |
| |||
0 commit comments