https://bugs.winehq.org/show_bug.cgi?id=45899
--- Comment #7 from Guilherme Silva guih.rox@gmail.com --- Thanks a lot, that's actually much easier than what I was doing. Hahah
I think I've found the right one this time.
7f52365c632b554e9cd26f0a37f237e1299f1e71 is the first bad commit commit 7f52365c632b554e9cd26f0a37f237e1299f1e71 Author: Dmitry Timoshkov dmitry@baikal.ru Date: Wed May 17 23:55:55 2017 +0800
server: Add support for a layered window region. (v3)
:040000 040000 3781c05266d1b57b0e7a8304631fb22fcc470a8c 7489cf46ad6460c6927c16cafc31d1912cba1fa1 M dlls :040000 040000 53c3c42980871bc577ecf8d5978c6db53e9ebc1f e52a0cae77c3c359ce0654b8693bd035b1265004 M include :040000 040000 bf456f6d184a143a30c37b209b828d8fb0cb4e22 714097355cfc3da410ecf49646ce54daff10251b M server
(Patch location: patches/user32-Mouse_Message_Hwnd/0005-server-Add-support-for-a-layered-window-region.-v2.patch)
In my first attempt at this, I applied all patches against Wine 3.16, but upon compilation I started getting too much errors, and even `bisect skip`ing them didn't help much. I also know nothing about C programming to even consider fixing those errors, so I decided to patch Wine 3.6 instead, which is the version that introduced the problem in the first place. Thankfully, it went butter smooth!
Ultimately, to be sure that was indeed the problematic patch, I patched Wine 3.16 without the 'user32-Mouse_Message_Hwnd' patchset and that finally fixed systray problem I was having! The only minor issue I found is that the cursor disappears after you right-click the tray icon, but moving the cursor slightly makes it appear again, and it won't happen again in a second try. Ah, left-clicking also works.
That's all I guess...