[PATCH wayland 1/2 v2] protocol: Add resize from center flag.

Scott Moreau oreaus at gmail.com
Thu Nov 15 12:58:27 PST 2012


On Thu, Nov 15, 2012 at 1:45 PM, Bill Spitzak <spitzak at gmail.com> wrote:

> Scott Moreau wrote:
>
>  Now that you mention it, I believe I have seen this used somewhere too
>> and it makes sense. As a side note, the algorithm is always the same for
>> resize-from-center regardless if it's horizontal, vertical or both.
>>
>
> I was imagining "resize from center horizontal" would only move the left
> and right edges, and "resize from center vertical" would only move the top
> and bottom edges.
>
> Not sure if it is useful but it seems consistent.
>

This is how it works currently. Regardless if you're resizing left, right,
bottom or top, the resize-from-center flag affects the current edges and
their opposing edges. Here is a short video demonstrating the effect
http://youtu.be/9drKYx4yNPE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20121115/18c7509a/attachment.html>


More information about the wayland-devel mailing list