Destroy requests (Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface)

2013-01-29 Thread Pekka Paalanen
On Mon, 28 Jan 2013 13:32:54 -0500 Kristian Høgsberg hoegsb...@gmail.com wrote: On Mon, Jan 28, 2013 at 05:18:34PM +, Rob Bradford wrote: From: Rob Bradford r...@linux.intel.com Add a probe_area request to the wl_shell_surface interface along with a visible_area event to communicate

Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-29 Thread Bill Spitzak
Kristian Høgsberg wrote: It's done this way so that the compositor can provide the biggest possible visible area for the rectangle of interest. If your main surface is rotated, the edges of the screen are at an angle with the window edges. How do you define the biggest visible area in that

[PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-28 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com Add a probe_area request to the wl_shell_surface interface along with a visible_area event to communicate the result of the probe. The intention of this request and event is to allow the client to try and refine the placement of popup windows that would

Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-28 Thread Kristian Høgsberg
On Mon, Jan 28, 2013 at 05:18:34PM +, Rob Bradford wrote: From: Rob Bradford r...@linux.intel.com Add a probe_area request to the wl_shell_surface interface along with a visible_area event to communicate the result of the probe. The intention of this request and event is to allow the

Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-28 Thread Bill Spitzak
It would be nice if there was a clear way to find out *all* the visible area. Right now it looks like I have to try a really large rectangle and just hope I have managed to cover all of the current output. It seems to me that getting rid of the rectangle and returning the result as though it

Re: [PATCH] protocol: Add a request and event to identify the visible area for a surface

2013-01-28 Thread Kristian Høgsberg
On Mon, Jan 28, 2013 at 03:07:02PM -0800, Bill Spitzak wrote: It would be nice if there was a clear way to find out *all* the visible area. Right now it looks like I have to try a really large rectangle and just hope I have managed to cover all of the current output. It seems to me that

[PATCH] protocol: Add a request and event to identify the visible area for a surface

2012-02-29 Thread Rob Bradford
From: Rob Bradford r...@linux.intel.com Add a probe_area request to the wl_shell_surface interface along with a visible_area event to communicate the result of the probe. The intention of this request and event is to allow the client to try and refine the placement of popup windows that would