Skip to content

tiling: Don't put maximized windows in tile

Alik Aslanyan requested to merge inline/kwin:fix-polonium-again into master

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

Edited by Alik Aslanyan

Merge request reports

Loading