[Bug 7236] I'm OK : Can only see about 1/6th of the screen

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 20 15:42:34 CST 2011


http://bugs.winehq.org/show_bug.cgi?id=7236

--- Comment #7 from Bruno Jesus <00cpxxx at gmail.com> 2011-11-20 15:42:34 CST ---
Created attachment 37556
  --> http://bugs.winehq.org/attachment.cgi?id=37556
+win,+x11drv

Still present in 1.3.33.

Theory:

The application resizes the desktop window to 400x300 but paints the game in
the winecfg screen resolution.

After resizing the desktop window the app uses GetWindowRect to get it's own
size that should have been updated to 400x300 as the application was in
fullscreen (and the screen is now smaller). But the value returned by
GetWindowRect is still the winecfg screen resolution. So it paints the game in
winecfg resolution instead of 400x300. When the application closes it restores
the desktop size to the original winecfg configuration.

I tried but could not find a way to fix this by now, probably more experienced
developers can take a look, backtrace attached.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list