[PATCH v2] systray: Hide systray for fullscreen games
Fabian Maurer
dark.shadow4 at web.de
Sat Dec 29 18:44:29 CST 2018
Hi Hamish,
> if ( !( GetSystemMetrics(SM_CXFULLSCREEN) >= GetSystemMetrics(SM_CXSCREEN)
> && GetSystemMetrics(SM_CYFULLSCREEN) >= GetSystemMetrics(SM_CYSCREEN) ))
Why are you comparing two system metrics? Are they changing when a program goes
fullscreen? I'm pretty sure they don't.
Did you also test that it only hides the taskbar when it should? For me both
SM_CXSCREEN and SM_CXFULLSCREEN are 1920 - that would hide the tray always,
even in windowed mode.
Regards,
Fabian Maurer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20181230/ab73897c/attachment-0001.html>
More information about the wine-devel
mailing list