https://bugs.winehq.org/show_bug.cgi?id=39170
Richard rw92672685@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #52225|0 |1 is obsolete| |
--- Comment #2 from Richard rw92672685@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.