mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
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:
parent
d2ba42b503
commit
ab3f7243ec
1 changed files with 1 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ QMap<QString, QMap<QString, QVariant>> getKwinrcSettings(KSharedConfig::Ptr m_mo
|
||||||
|
|
||||||
return {{"Windows",
|
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
|
{"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
|
{"InteractiveWindowMoveEnabled", convergenceModeEnabled} // only allow window moving in convergence mode
|
||||||
}},
|
}},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue