[Bug 39170] Creatures view window is rendered incorrectly when using WM decorations.

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 1 04:56:07 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=39170

Richard <rw92672685 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #52225|0                           |1
        is obsolete|                            |

--- Comment #2 from Richard <rw92672685 at hotmail.com> ---
Created attachment 52236
  --> https://bugs.winehq.org/attachment.cgi?id=52236
Logs with +x11drv,+win.

I spent a few hours on this just now and found a fix for it. The window is
initially created with a size of 0x0. get_mwm_decorations() won't consider any
window of this size to have WM decorations, which appears to report an
incorrect size that causes a problem with Creatures when it resizes the window
later on.

I've attached the debug logs containing +x11drv,+win when this window is
created and destroyed, with and without VM decorations enabled. I've also
included a version with this patch applied.

I should mention that this is my first Wine patch and unable to vouch how clean
or correct this is. That said though, it's only a single line.

-- 
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