https://bugs.winehq.org/show_bug.cgi?id=51984
Gabriel Ivăncescu gabrielopcode@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gabrielopcode@gmail.com
--- Comment #13 from Gabriel Ivăncescu gabrielopcode@gmail.com --- (In reply to m0rvj from comment #12)
Created attachment 71303 [details] patch which fixes
This patch should fix - it restores the return false possibility. I've tested this with Logos and it works but not having a copy of Word 2016 I'm not able to test if it still resolves that issue. Hopefully!
That ends up calling the driver's UpdateLayeredWindow twice if it returns TRUE, I don't think it's correct.
This commit also breaks systray icons for me; it makes them have a black background instead of transparent for apps minimized to the systray. For this problem, the issue seems to be set_window_pos. It needs to be called after the driver's UpdateLayeredWindow *even* if it doesn't resize or move the window at all. i.e. even if the flags are the default base flags set at the top.
So I'm assuming it needs to be called before it first if the window needs to be resized or moved, and then again with the base flags to update it. I don't know if this fixes your problem though, but it fixes the systray issue.