~mc-return/compiz/compiz.merge-wizard-improvements

Viewing all changes in revision 3722.

  • Committer: Tarmac
  • Author(s): Sami Jaktholm
  • Date: 2013-05-25 13:22:42 UTC
  • mfrom: (3716.1.1 fix-1115344)
  • Revision ID: tarmac-20130525132242-xk1gq60e5iapbjns
Grid: Fix window misplacement if a window is restored but the size doesn't
      change.

- Set isGridResized to false before configuring the window in 
  GridScreen::restoreWindow.

  If the restored geometry is the same as current geometry, configureXWindow
  will trigger moveNotify instead of resizeNotify. As isGridResized is still
  true, GridWindow::moveNotify blocks the restoration movement and the pointer
  detaches from the decoration.

- Don't use pointerBufs when calculating position of the restored window with
  snapback windows disabled.

  The window will be positioned a bit too high (or low) and the pointer
  detaches from decoration if the movement was actually tracked. This was a
  workaround for the first point and can be safely removed. Fixes: https://bugs.launchpad.net/bugs/1115344.

Approved by PS Jenkins bot, MC Return.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: