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

  • 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.
Filename Latest Rev Last Changed Committer Comment Size
..
core 1992 16 years ago Dennis Kasprzyk Merge CompCore and CompDisplay into CompScreen cla Diff
CMakeLists.txt 3217.2.1 12 years ago smspillaz Remove COMPIZ_DESTDIR It was a broken hack for a 130 bytes Diff Download File
decoration.h 3602.2.21 11 years ago Sam Spilsbury Rename postDeletePixmap to destroyUnusedPixmap and 13.5 KB Diff Download File