qt, windows: show snap layouts menu on windows 11 with CSD
Demo:
capture-2022-12-06_10-21PM
TODO:
-
Test on windows 7. This feature is not available there but the code touches shared "hack" code.
references -
https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/apply-snap-layout-menu
https://github.com/microsoft/terminal/pull/11680/files
https://github.com/wangwenx190/framelesshelper/blob/main/src/core/framelesshelper_win.cpp
Edited by Prince Gupta