Skip to content

Draft: Some changes about testQuickTilingPointerMove

Liu Jie requested to merge kylinliujie/kwin:work/quick_tiling_test into master

We need to attach a new image after the tiling window, so that updateElectricGeometryRestore can obtain the same framegeometry as the framegeometry obtained during actual runtime.

Now testQuickTilingPointerMove can detect the error:

If the user wants to move a tiled window but changes their mind and tiles the window back to the previous position, quickTileGeometryRestore() will return an error value beacause m_electricMaximizing is true and the m_electricGeometryRestore is the same as the geometry of the window in the last tiled mode.

Signed-off-by: Jie Liu liujie01@kylinos.cn

Merge request reports