The current implementation doesn't work when we set the button with a size that is greater than the size of bitmap.
Likely it isn't easy to test this automatically, attached is the testcase I wrote for it.
And this is the comparison:
![comctl32_toolbar_button_bitmap](/uploads/427448b2aaaac1f03feca1eed2fe4bb9/comctl32_toolbar_button_bitmap.png)
[toolbar_button_bitmap_testcase.tar.gz](/uploads/51b3018645f7aa46d444cd8d696716e1/toolbar_button_bitmap_testcase.tar.gz)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2835
One real-world example of Windows software that has support for AF_UNIX sockets is cURL. This patch allows cURL running under Wine to, for example, query `dockerd`:
$ wine curl.exe -s --unix-socket 'Z:/run/docker.sock' http://v1.42/version | jq -r .Version
23.0.6
> Although it's not quite clear to me that ws2_32 is the right place to do that translation; we may want to do it in ntdll instead.
@zfigura Can you elaborate on this? I don't see a clean way of doing this in ntdll without modifying `struct afd_bind_params`, `struct afd_connect_params`, etc. to add a field for the Unix path, since none of the other `sock_ioctl` cases add on varargs.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2786#note_33064
Adds the tray icons implementation based on org.kde.StatusNotifierItem interface usage. Does allow restarting StatusNotifierWatcher object, but will fallback to XEMBED or internal tray, if wine gets initialized when there is no StatusNotifierWatcher object registered.
--
v7: configure: fix winesni.drv not getting disabled
https://gitlab.winehq.org/wine/wine/-/merge_requests/2808
I put the tests in the same commit as the implementation due to crashes, I can also split them again if needed.
Signed-off-by: Bernhard Kölbl <besentv(a)gmail.com>
--
v3: mf: Don't try to clone non existent topo connections.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2848
Adds the tray icons implementation based on org.kde.StatusNotifierItem interface usage. Does allow restarting StatusNotifierWatcher object, but will fallback to XEMBED or internal tray, if wine gets initialized when there is no StatusNotifierWatcher object registered.
--
v6: configure: fix winesni.drv not getting disabled
https://gitlab.winehq.org/wine/wine/-/merge_requests/2808
I put the tests in the same commit as the implementation due to crashes, I can also split them again if needed.
Signed-off-by: Bernhard Kölbl <besentv(a)gmail.com>
--
v2: mf: Don't try to clone non existent topo connections.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2848
--
v2: ir50_32: Let video_decoder flip the video instead of doing it manually.
winegstreamer: Don't force top-down orientation when changing output format in video_decoder.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2815