https://bugs.winehq.org/show_bug.cgi?id=57676
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Rémi Bernon from comment #7)
Created attachment 77894 [details] Tentative fix
I don't reproduce the issue,
In winecfg Graphics tab enable the option <Allow the window manager to control the window>. That's the way I reproduced the problem (but only in Wine's fullscreen mode). The problem doesn't occur in virtual desktop mode for me.
but if you can does the attached patch helps? It fixes bug 57665 for me.
I got inconsistent results with the patch: seems to fix the problem when <No theme> is selected in winecfg, but the problem remains with the <Light> theme. Actually, every second attempt to run the application with your patch applied resulted in the normal behavior so I'm lost here..
This was tested on XFCE4.20, XOrg and Nvidia binary drivers. The bug reporter may have a different outcome though.