envmanager: Use BorderlessMaximizedWindows option

This allows for the window decorations to not be drawn on initial window
open, so we don't have to rely on our KWin script (which has a slight
delay).
This commit is contained in:
Devin Lin 2025-06-30 17:09:23 -04:00
parent d2ba42b503
commit ab3f7243ec

View file

@ -40,6 +40,7 @@ QMap<QString, QMap<QString, QVariant>> getKwinrcSettings(KSharedConfig::Ptr m_mo
return {{"Windows",
{
{"BorderlessMaximizedWindows", !convergenceModeEnabled}, // turn off window decorations when not in convergence mode
{"Placement", convergenceModeEnabled ? "Centered" : "Maximizing"}, // maximize all windows by default if we aren't in convergence mode
{"InteractiveWindowMoveEnabled", convergenceModeEnabled} // only allow window moving in convergence mode
}},