[Windows] Keep Kodi Always-on-Top (instead of minimizing on focus loss)
#22
(2016-10-07, 20:20)Paxxi Wrote: As one of the windows developers I'm not sure this belongs in Kodi, we try to avoid too many settings for specific use cases and non-htpc setups. It can be achieved using e.g. Autoit3 https://www.autoitscript.com/autoit3/doc...tOnTop.htm
Nope, does not work, not in true fullscreen mode at least, which is the primary usage scenario for this patch. In true fullscreen mode, vanilla Kodi actively minimizes as soon as it loses focus, first of all to mimic the old DX9 behavior and second, to prevent DXGI_STATUS_OCCLUDED which would result in auto-switching back to fake fullscreen mode.

Either way, if you read my previous posts, I cannot fully prevent DXGI_STATUS_OCCLUDED when other topmost windows try to compete with Kodi, so I don't consider the patch merge-worthy at this time anyway.

P.S. Even in fake fullscreen mode, there are so many places in the code where vanilla Kodi would reset the window properties to non-topmost, that a simple one-time change to the topmost flag using Autoit or any other way wouldn't really work.
Reply


Messages In This Thread
RE: [Windows] Keep Kodi Always-on-Top (instead of minimizing on focus loss) - by Shine - 2016-10-08, 16:27
Logout Mark Read Team Forum Stats Members Help
[Windows] Keep Kodi Always-on-Top (instead of minimizing on focus loss)5