Skip to content

tiling: Don't put maximized windows in tile

Vlad Zahorodnii requested to merge work/cherry-pick-3b34e930 into Plasma/6.1

After !5532 (merged) existing behavior in public scripting API was changed for maximized Windows. Maximized Windows didn't have a tile on purpose. This behaviour was changed, as after refactoring separate members for storing QuickTileMode in Window and tile itself were unified Previously QuickTileMode::Maximize was only set in the Window itself in m_quickTileMode, while tile itself was removed (by setTile(nullptr)).

Current QuickTileMod for current Window isn't part of public scripting API, so it's okay to break it.

This restores compatability with scripts created for KWin 6.0.5 and earlier

BUG: 489463

Signed-off-by: Alik Aslanyan inline0@pm.me

(cherry picked from commit 3b34e930)

Co-authored-by: Alik Aslanyan inline0@pm.me

Merge request reports

Loading