My first post! Here we go: To make resolution switches work OK in Wine full-screen apps (mostly games) there are a couple of SYSMETRICS that need to be kept updated (SM_CYSCREEN, SM_CXSCREEN - the vertical and horizontal resolution) There are 2 ways to do it: 1. Call SYSMETRICS_Set from x11drv when the resolution changes and update the values of SM_CXSCREEN, SM_CYSCREEN etc. Disadvantage: probably breaks DLL separation. 2. Add 2 calls to USER_Driver GetWidth and GetHeight (in x11drv) - and dynamically call those when we are asked about SM_CXSCREEN and SM_CYSCREEN. I wrote a patch for this. Any feedback? Sentimente.ro - www.sentimente.ro Peste 50.000 de prieteni te asteapta!
There are 2 ways to do it: 1. Call SYSMETRICS_Set from x11drv when the resolution changes and update the values of SM_CXSCREEN, SM_CYSCREEN etc. Disadvantage: probably breaks DLL separation.
I think something like that is in the work as parts of Alex' rework of the Desktop mode with the introduction of the winedesktop application. Lionel -- Lionel Ulmer - http://www.bbrox.org/
participants (2)
-
Ciprian Enache -
Lionel Ulmer