compiz: Changes to 'master'

Danny Baumann maniac at kemper.freedesktop.org
Sun Mar 9 23:50:14 PDT 2008


 include/compiz-core.h |    4 +
 metadata/core.xml.in  |   16 +----
 src/screen.c          |  140 +++++++++++++++++++++++++++++++-------------------
 3 files changed, 95 insertions(+), 65 deletions(-)

New commits:
commit 1657bfa75dbc81751f2371fdd3283cd9fde3576e
Author: Danny Baumann <dannybaumann at web.de>
Date:   Mon Mar 10 07:47:55 2008 +0100

    Make outputDeviceForGeometry behave smarter when dealing with overlapping outputs.
    Currently, the current output is returned if some part of the rectangle is on it; otherwise the output device the rectangle center is on is returned. This works fine for non-overlapping outputs, but with overlapping outputs, the window center may be on multiple outputs, making the determination ambiguous.
    This patch applies the following strategy instead:
    - Determine the output the largest part of the rectangle area is on.
    - If there are multiple outputs with equally large parts, return the best output based on a user-selectable strategy.
    - Otherwise, return the output that contains the largest part.
    
    This commit also reverts large parts of commit 1a233a20d1de2b504b707fe79ad36268e683eb5d.



More information about the xorg-commit mailing list