winex11: Set the correct visual even if alpha matches.
commitb1a61e74a383a7dafc025950803255d723df828f
authorGabriel Ivăncescu <gabrielopcode@gmail.com>
Thu, 7 Mar 2024 15:34:48 +0000 (7 17:34 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 7 Mar 2024 21:56:12 +0000 (7 22:56 +0100)
treeee2813e97ab75499f97647e14577de89f8a013bd
parenta0c390de8dab079430ae833986f54dffc1f22073
winex11: Set the correct visual even if alpha matches.

8a71a4a30495635bdc905af41869d8ed9e43009f caused us to set a different visual
but with the correct alpha prior to actually setting it to the systray's
visual. In this case, the alpha would match and not set it to the systray's
visual. This caused the Ubuntu 23.10.1 default WM to crash.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
dlls/winex11.drv/window.c