[Bug 9374] Ricochet Infinity window fills the screen when switching from fullscreen mode

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 17 15:42:05 CDT 2008


--- Comment #3 from Vincent Povirk <madewokherd at gmail.com>  2008-08-17 15:42:04 ---
Here's what I think is happening:

- Ricochet Infinity calls IDirectDrawImpl_SetCooperativeLevel to change from
fullscreen to windowed mode.
- IDirectDrawImpl_SetCooperativeLevel calls IDirectDrawImpl_RestoreDisplayMode
(which calls IDirectDrawImpl_SetDisplayModeNoOverride, which calls
IDirectDrawImpl_SetDisplayMode) to change the screen size back to what it was
originally. IDirectDrawImpl_SetDisplayMode changes the screen size back and,
because directdraw is in fullscreen mode, resizes the window to fill the
- IDirectDrawImpl_SetCooperativeLevel changes the flags so that directdraw is
in windowed mode, AFTER calling RestoreDisplayMode.

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