~compiz-team/compiz-core/0.9.7

Viewing all changes in revision 3135.

  • Committer: Tarmac
  • Author(s): Matthias Alles
  • Date: 2013-04-15 18:36:01 UTC
  • mfrom: (3124.2.3 compiz-core-fix-751605)
  • Revision ID: tarmac-20130415183601-wha337e3d4mohwq2
Prevent windows from maximizing on the wrong monitor (LP: #751605)

  This fixes two causes I have found:
    1. outputDeviceForGeometry was wrapping to the wrong monitor (back to the
       top or left) if a window was mostly off the bottom/right of the screen.
    2. Even when outputDeviceForGeometry returned the correct output,
       PrivateWindow::addWindowSizeChanges was sometimes changing it to an
       incorrect output in the case where the old size of a window exceeds
       the dimensions of the smaller monitor you're trying to maximize it on.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: