~townsend/compiz/fix-auto-vp-switch-0.9.10

Viewing all changes in revision 3766.

  • Committer: Tarmac
  • Author(s): Sami Jaktholm
  • Date: 2013-07-19 18:39:38 UTC
  • mfrom: (3764.1.1 fix-776435)
  • Revision ID: tarmac-20130719183938-xoacscbs1ntwvs28
Bias the current viewport in addWindowSizeChanges.

If window is visible in the current viewport, use that viewport when
calculating geometries in addWindowSizeChanges. Otherwise the current method
is used.

This way visible windows are maximized in the current viewport.
However, offscreen windows won't jump back to the active viewport if window
maximizes by itself or addWindowSizeChanges is called for some other reason. Fixes: https://bugs.launchpad.net/bugs/776435.

Approved by PS Jenkins bot, Brandon Schaefer, Sam Spilsbury.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: