Re: [PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-26 Thread Pekka Paalanen
On Tue, 26 Feb 2013 12:10:18 -0800 Bill Spitzak wrote: > Pekka Paalanen wrote: > > > Do I understand correctly, that you would like to add protocol, so > > that clients could provide information, that the server can > > easily compute from the information it already has? > > Yes you understand

Re: [PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-26 Thread Bill Spitzak
Pekka Paalanen wrote: Do I understand correctly, that you would like to add protocol, so that clients could provide information, that the server can easily compute from the information it already has? Yes you understand correctly, except that it is *not* information the server has and I sure

Re: [PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-26 Thread Pekka Paalanen
On Tue, 26 Feb 2013 09:22:44 -0800 Bill Spitzak wrote: > On 02/25/2013 09:59 AM, Giulio Camuffo wrote: > > We must calculate the bounding box of the surface + subsurfaces set and use > > that when maximizing the window or going fullscreen. > > I think it would be much better for the client to ju

Re: [PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-26 Thread Bill Spitzak
On 02/25/2013 09:59 AM, Giulio Camuffo wrote: We must calculate the bounding box of the surface + subsurfaces set and use that when maximizing the window or going fullscreen. I think it would be much better for the client to just be able to say "pretend this shell surface is this big, even tho

Re: [PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-26 Thread Pekka Paalanen
On Mon, 25 Feb 2013 18:59:51 +0100 Giulio Camuffo wrote: > We must calculate the bounding box of the surface + subsurfaces set and use > that when maximizing the window or going fullscreen. > --- > src/shell.c | 118 > ++-- > 1 file change

[PATCH 2/2] shell: account for the subsurfaces when going fullscreen or maximizing

2013-02-25 Thread Giulio Camuffo
We must calculate the bounding box of the surface + subsurfaces set and use that when maximizing the window or going fullscreen. --- src/shell.c | 118 ++-- 1 file changed, 99 insertions(+), 19 deletions(-) diff --git a/src/shell.c b/src/she