Bellegarde Cedric
2006-Dec-05 04:45 UTC
[compiz] Patch for place plugin (Cascade, Centered, ...)
Here is a patch for place plugin. It add a "place_mode" option wich actually can have two values: "Cascade" (original placement mode) and "Centered". Thanks for any comment! Cedric -------------- next part -------------- A non-text attachment was scrubbed... Name: place.patch Type: text/x-diff Size: 3556 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20061205/e6acee75/place.bin
Bellegarde Cedric
2006-Dec-05 04:59 UTC
[compiz] Patch for place plugin (Cascade, Centered, ...)
Le mardi 5 d?cembre 2006 13:50, Bellegarde Cedric a ?crit?:> Here is a patch for place plugin.Sorry, first version wasn't good(stupid modification in Cascade mode), i'm "a boulet" (like we say in french). So, here is good version... Cedric -------------- next part -------------- A non-text attachment was scrubbed... Name: place.patch Type: text/x-diff Size: 3280 bytes Desc: not available Url : http://lists.freedesktop.org/archives/compiz/attachments/20061205/7b281c54/place.bin
David Reveman
2006-Dec-11 17:02 UTC
[compiz] Patch for place plugin (Cascade, Centered, ...)
On Tue, 2006-12-05 at 13:50 +0100, Bellegarde Cedric wrote:> Here is a patch for place plugin. > > It add a "place_mode" option wich actually can have two values: "Cascade" > (original placement mode) and "Centered".Patch looks OK but I'm not sure how useful the Centered mode is. Please explain more why someone would prefer using this mode instead of the default behavior. Is this change a bug-fix? - fluff = (work_area->height % (rect->height + 1)) / 3; + fluff = (work_area->height % (rect->height + 1)) / 2; -David