Re: [PATCH v2 1/2] shell & compositor: add parameters for set_fullsceen

2012-01-12 Thread Bill Spitzak
Pekka Paalanen wrote: Ok, I'll rephrase what I really meant, just forgot to write a tiny subordinate clause in the above. When a fullscreen surface is raised topmost, it should be raised on top of panels. When some other surface is raised afterwards, the panels must be raised too, if the other

Re: [PATCH 1/3] Revert "xwayland: Redirect toplevel windows one by one"

2012-01-12 Thread Kristian Høgsberg
On Thu, Jan 12, 2012 at 1:16 PM, Robert Bragg wrote: > From: Robert Bragg > > This reverts commit 7889930ad9f0faa00e7a5d469a2b50beaf759c9f. > > Redirecting the windows one by one this way doesn't handle unredirecting > windows that are reparented so they are no longer top-level windows. > This go

[PATCH 3/3] xwayland: unredirect sub-windows when root destroyed

2012-01-12 Thread Robert Bragg
From: Robert Bragg This ensures that we unredirect root sub-windows when the root window is being destroyed. We need to do this explicitly rather than rely on the the CompositeClientSubwindows resource being freed automatically because that may not happen until after the root window has already b

[PATCH 2/3] dbe: Cleanup in CloseScreen hook not ext CloseDown

2012-01-12 Thread Robert Bragg
From: Robert Bragg Instead of registering an extension CloseDownProc when adding the dbe extension this patch hooks into pScreen->CloseScreen so that the chain of pScreen->DestroyWindow hooks remains valid until all windows have been destroyed. Previously it was possible for DbeResetProc to be ca

[PATCH 1/3] Revert "xwayland: Redirect toplevel windows one by one"

2012-01-12 Thread Robert Bragg
From: Robert Bragg This reverts commit 7889930ad9f0faa00e7a5d469a2b50beaf759c9f. Redirecting the windows one by one this way doesn't handle unredirecting windows that are reparented so they are no longer top-level windows. This goes back to automatically redirecting all root sub-windows which wi

Re: [protocol PATCH v2 1/2] add parameters for set_fullscreen

2012-01-12 Thread Pekka Paalanen
On Wed, 11 Jan 2012 23:52:44 +0800 Juan Zhao wrote: > > On Wed, 2012-01-11 at 10:10 +0200, Pekka Paalanen wrote: > > The scaling modes apply only to the case, where the client decides to > > attach a buffer of different size than what the compositor suggests > > (which is the size of the assign

Re: [PATCH v2 1/2] shell & compositor: add parameters for set_fullsceen

2012-01-12 Thread Pekka Paalanen
On Wed, 11 Jan 2012 12:05:09 -0800 Bill Spitzak wrote: > Pekka Paalanen wrote: > > +#define WESTON_SURFACE_FULLSCREEN_NONE 0 > +#define WESTON_SURFACE_FULLSCREEN_SCALE 1 > +#define WESTON_SURFACE_FULLSCREEN_FORCE 2 > +#define WESTON_SURFACE_FULLSCREEN_FILL 3 > +#define W

Re: [PATCH v2 2/2] shell: Add set_maximised for wl_shell_surface interface.

2012-01-12 Thread Pekka Paalanen
On Wed, 11 Jan 2012 23:34:51 +0800 Juan Zhao wrote: > > > On Tue, 2012-01-10 at 14:11 +0200, Pekka Paalanen wrote: > > On Mon, 9 Jan 2012 22:54:20 +0800 > > juan.j.z...@linux.intel.com wrote: > > > > > From: Alex Wu > > > > > > mainly send a configure event to the client > > > > > > Signed