https://bugs.winehq.org/show_bug.cgi?id=48441
--- Comment #4 from Zhiyi Zhang zzhang@codeweavers.com --- (In reply to Diederik van Bochove from comment #3)
(In reply to Zhiyi Zhang from comment #2)
Created attachment 66247 [details] patch
Great, thanks!. I'm going to try to build Wine myself, to see if it solves my problem, although I suppose it does. It will be the first time for me to compile Wine. Can I checkout wine 5.0 rc5, apply the patch, compile wine and copy winex11.drv.so over to my current wine installation?
It would be better to use `make install` to install a newer version of Wine instead of copying .so around because winex11.drv.so ABI backward compatibility is not guaranteed. Note that the patch should fix your problem for now but it's very experimental and might break other things. The fix that will end up upstream maybe different.