[compiz] [PATCH] Resize improvements (Multiple resize modes, better aspect ratio constraining)

Anders Storsveen wakko at generation.no
Wed Apr 18 07:44:53 PDT 2007

how can vista resizing and redrawing be so fast, while compiz and  
osx' resizing is slow? as I understand it, vista also uses  
composition in their aero-glass stuff too.

Den 18. apr. 2007 kl. 10.45 skrev Danny Baumann:

> Hi,
>> I have ported various improvements of Beryl's resize to Compiz:
>> - multiple resize modes (aside to the standard "normal" mode those  
>> are
>> "Stretch", "Outline" and "Filled Outline")
>> - better aspect ratio constraining (you now also can resize aspect
>> constrained windows from other edges than the lower right)
>> - avoiding of mouse pointer desynchronization when the resizing hit
>> constraints.
>> While porting this, I cleaned up the code and fixed some performance
>> problems, so the code is supposed to work without problems.
>> If you want to use the new options and are using gconf, you have  
>> to do
>> 'make compiz.schemas.in' in your plugin directory to update the  
>> schema
>> file.
>> Please tell me what you think of that patch and if you experience any
>> problems while using it.
> I've splitted up the patch into several smaller ones, adapted them for
> latest API changes and fixed some minor bugs which I got reported.
> Some more feedback would still be nice :-)
> David, are there any objections against including this code?
> Regards,
> Danny
> <0001-Added-options-for-additional-resize-modes.patch>
> <0002-Added-painting-code-for-additional-resize-modes.patch>
> <0003-Update-resize-logic-to-reflect-additional-resize-mod.patch>
> <0004-Added-proper-constraining-code.patch>
> <0005-Warp-pointer-if-resizing-hit-constraints-to-avoid-mo.patch>
> <0006-Added-screen-damages-which-were-missing-if-the-resiz.patch>
> <0007-Avoid-resizing-windows-to-negative-sizes.patch>
> <0008-Avoid-window-flashing-back-to-its-old-size-for-a-sho.patch>
> _______________________________________________
> compiz mailing list
> compiz at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/compiz

More information about the compiz mailing list