I would like to avoid Kiosk-mode. Kiosk-mode takes too long to switch to and breaks HDR on Windows.
Ideally I just want to resize the window so that all it’s border elements are outside the desktop (in the gaming world it’s called “borderless window”).
The user can use alt-enter or double-click inside the window to toggle between this bordeless-window mode and regular mode (at least that’s the idea).
Does anybody have any example code to achieve this?
That’s not an issue, as the window in question doesn’t use a native titlebar. The problem are the rounded corners. Even if I resize the window so its client area fill the entire screen and the decorations are outside, the corners are still rounded and whatever is behind it stays visible.
It would be nice if the current setKioskMode functions could have a flag for exclusive full screen (current behavior) and borderless window (desired behavior).