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

Danny Baumann dannybaumann at web.de
Wed Apr 18 01:45:37 PDT 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-options-for-additional-resize-modes.patch
Type: application/mbox
Size: 4609 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0001-Added-options-for-additional-resize-modes-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-painting-code-for-additional-resize-modes.patch
Type: application/mbox
Size: 5344 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0002-Added-painting-code-for-additional-resize-modes-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Update-resize-logic-to-reflect-additional-resize-mod.patch
Type: application/mbox
Size: 9429 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0003-Update-resize-logic-to-reflect-additional-resize-mod-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-proper-constraining-code.patch
Type: application/mbox
Size: 7361 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0004-Added-proper-constraining-code-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Warp-pointer-if-resizing-hit-constraints-to-avoid-mo.patch
Type: application/mbox
Size: 1401 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0005-Warp-pointer-if-resizing-hit-constraints-to-avoid-mo-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Added-screen-damages-which-were-missing-if-the-resiz.patch
Type: application/mbox
Size: 1160 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0006-Added-screen-damages-which-were-missing-if-the-resiz-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Avoid-resizing-windows-to-negative-sizes.patch
Type: application/mbox
Size: 818 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0007-Avoid-resizing-windows-to-negative-sizes-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Avoid-window-flashing-back-to-its-old-size-for-a-sho.patch
Type: application/mbox
Size: 2125 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/compiz/attachments/20070418/5003c478/0008-Avoid-window-flashing-back-to-its-old-size-for-a-sho-0001.bin


More information about the compiz mailing list