[PATCH 2/3] shell: add panel height limiation when moving a window
Kristian Høgsberg
krh at bitplanet.net
Wed Jul 25 06:33:46 PDT 2012
On Wed, Jul 25, 2012 at 1:00 AM, Bill Spitzak <spitzak at gmail.com> wrote:
> On 07/24/2012 06:10 PM, Juan Zhao wrote:
>
>> Is it in the condition that, click any area of the window could drag and
>> move the window? Some user case is, only the title bar area could be
>> dragged and moved.
>
>
> My understanding is that a client can tell the shell that a window can be
> dragged in response to any click, so potentially any point on the window can
> be a drag point.
>
> I think it is a reasonable assumption that the point that caused the drag
> will continue to cause a drag if clicked again. Therefore the window will
> remain movable as long as that point is not obscured.
>
> Therefore I suggest that the sample client work as proposed, and only
> prevent that point from being obscured.
>
> Other shells may decide to be more restrictive (such as insisting that the
> entire input area remain un-obscured) but the sample shell should show what
> is possible and allowed.
Yeah, that's the basic idea.
Kristian
More information about the wayland-devel
mailing list