Skip to content

autotests: Fix QuickTilingTest

Vlad Zahorodnii requested to merge work/zzag/quick-tiling-test-fix into master

No configure event is sent after starting interactive move anymore, but QuickTilingTest has not been adjusted to the new behavior.


geometryRestore() is no longer updated after mapping the window, so setQuickTileMode() has to update geometryRestore() explicitly to the correct value.

With this change, geometryRestore() will be updated as follows:

  • if the window is tiled, geometryRestore() is valid, nothing to do
  • the window has been dragged to the top edge, set geometryRestore() to the geometry that the window had when starting move
  • otherwise, use the current move resize geometry

Merge request reports