~sil2100/compiz/0.9.8_fix_ftbfs_arm

Viewing all changes in revision 3428.

  • Committer: Tarmac
  • Author(s): Matthias Alles
  • Date: 2012-12-11 07:36:28 UTC
  • mfrom: (3426.1.1 compiz-fix-751605)
  • Revision ID: tarmac-20121211073628-9qjxljqc13yq16tx
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: