[PATCH 2/3] shell: add panel height limiation when moving a window

Juan Zhao juan.j.zhao at linux.intel.com
Wed Jul 25 19:04:59 PDT 2012


On Wed, 2012-07-25 at 09:33 -0400, Kristian Høgsberg wrote: 
> 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.

So avoiding the clicking point which triggered the drag. And expand the
point to a small area.

Got you guys. :)

Thanks,
Juan

> 
> Kristian
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel




More information about the wayland-devel mailing list