envmanager: Toggle interactive window moving

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/340

This toggles whether interactive window moving is enabled based on
whether docked mode is enabled.

Requires https://invent.kde.org/plasma/kwin/-/merge_requests/6745
This commit is contained in:
Devin Lin 2024-11-07 08:45:32 -08:00
parent e5739eb339
commit 6e7376990b

View file

@ -39,7 +39,8 @@ QMap<QString, QMap<QString, QVariant>> getKwinrcSettings(KSharedConfig::Ptr m_mo
return {{"Windows",
{
{"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
}},
{"Plugins",
{