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

Juan Zhao juan.j.zhao at linux.intel.com
Tue Jul 24 22:32:28 PDT 2012


On Tue, 2012-07-24 at 22:00 -0700, Bill Spitzak 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.

Yes, this is some user case. 
And there is also some clients who do not response to be movable when
"double clicked" or "clicked for a long time".

> 
> Therefore I suggest that the sample client work as proposed, and only 
> prevent that point from being obscured.

Do you mean, avoiding the places where it could triger the drag to be
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.
> 
> _______________________________________________
> 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