https://bugs.winehq.org/show_bug.cgi?id=43030
--- Comment #22 from Zachary Murray dremelofdeath@gmail.com --- (In reply to Jactry Zeng from comment #21)
Hi Zachary, (In reply to Zachary Murray from comment #18)
One thing I want to try is testing this with a different driver, like Android. If it doesn't manifest there, I think it would indicate a problem in the X11 driver. If it does, I'd want to investigate the user32 windowing code.
I tested it on macOS which using mac driver and it can't be reproduced.
Thanks for checking that, Jactry, this is super helpful. Given it doesn't happen in the Mac driver, I'm now convinced this is related to the X11 driver and how it sets override redirection on only the border window.
I saw Alexandre's suggestion in #4 to disallow the window manager to control the windows in winecfg, so I gave that a try. Of course this causes LINE to stay above all other windows when configured this way. I checked the states of both the content window and the border window in this state and both of them have override redirection enabled (expected because this is the standard way to ignore the WM).
Wine should not be overriding redirection on the border window. Fixing that will at least solve the problem for managed mode but probably won't fix the thick borders issue though.