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

Bill Spitzak spitzak at gmail.com
Tue Jul 24 22:00:09 PDT 2012


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.



More information about the wayland-devel mailing list