Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Pekka Paalanen
On Tue, 15 Jan 2019 23:21:05 +0100 Carlos Garnacho wrote: > If Xwayland gets to realize a window meant for composition before the > compositor redirected windows (i.e. redirect mode is not RedirectDrawManual > yet), the window would stay "invisible" as we wouldn't create a > wl_surface/wl_shell_s

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Olivier Fourdan
Hi On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote: > > On Tue, 15 Jan 2019 23:21:05 +0100 > Carlos Garnacho wrote: > > > If Xwayland gets to realize a window meant for composition before the > > compositor redirected windows (i.e. redirect mode is not RedirectDrawManual > > yet), the windo

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Olivier Fourdan
On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote: > > Hi > > On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote: > > > > On Tue, 15 Jan 2019 23:21:05 +0100 > > Carlos Garnacho wrote: > > > > > If Xwayland gets to realize a window meant for composition before the > > > compositor redirecte

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Olivier Fourdan
On Wed, Jan 16, 2019 at 9:56 AM Olivier Fourdan wrote: > On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote: > > > > Hi > > > > On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote: > > > > > > On Tue, 15 Jan 2019 23:21:05 +0100 > > > Carlos Garnacho wrote: > > > > > > > If Xwayland gets to

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Pekka Paalanen
On Wed, 16 Jan 2019 09:56:59 +0100 Olivier Fourdan wrote: > On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote: > > > > Hi > > > > On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote: > > > > > > > > On Tue, 15 Jan 2019 23:21:05 +0100 > > > Carlos Garnacho wrote: > > > > > > > If Xway

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Matthieu Herrb
On Wed, Jan 16, 2019 at 10:35:13AM +0200, Pekka Paalanen wrote: > On Tue, 15 Jan 2019 23:21:05 +0100 > Carlos Garnacho wrote: > > > If Xwayland gets to realize a window meant for composition before the > > compositor redirected windows (i.e. redirect mode is not RedirectDrawManual > > yet), the w

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Carlos Garnacho
Hi!, On Wed, Jan 16, 2019 at 10:52 AM Pekka Paalanen wrote: > > On Wed, 16 Jan 2019 09:56:59 +0100 > Olivier Fourdan wrote: > > > On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote: > > > > > > Hi > > > > > > On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen > > > wrote: > > > > > > > > On Tu

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Pekka Paalanen
On Wed, 16 Jan 2019 11:50:12 +0100 Carlos Garnacho wrote: > Hi!, > > On Wed, Jan 16, 2019 at 10:52 AM Pekka Paalanen wrote: > > > > On Wed, 16 Jan 2019 09:56:59 +0100 > > Olivier Fourdan wrote: > > > > > On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan > > > wrote: > > > > > > > > Hi > >

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Carlos Garnacho
Hi!, On Wed, Jan 16, 2019 at 10:54 AM Matthieu Herrb wrote: > > On Wed, Jan 16, 2019 at 10:35:13AM +0200, Pekka Paalanen wrote: > > On Tue, 15 Jan 2019 23:21:05 +0100 > > Carlos Garnacho wrote: > > > > > If Xwayland gets to realize a window meant for composition before the > > > compositor redir

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Carlos Garnacho
Hi!, On Wed, Jan 16, 2019 at 12:40 PM Pekka Paalanen wrote: > > On Wed, 16 Jan 2019 11:50:12 +0100 > Carlos Garnacho wrote: > > > Hi!, > > > > On Wed, Jan 16, 2019 at 10:52 AM Pekka Paalanen wrote: > > > > > > On Wed, 16 Jan 2019 09:56:59 +0100 > > > Olivier Fourdan wrote: > > > > > > > On Wed

Re: Xwayland on demand (Re: [PATCH xwayland 3/3] xwayland: Handle the case of windows being realized before redirection)

2019-01-16 Thread Adam Jackson
On Wed, 2019-01-16 at 11:52 +0200, Pekka Paalanen wrote: > What I think we would need is a way to launch Xwayland, but ensure it > does not process the real X11 apps until all the preparations (xrdb, > XWM init, etc.) have finished. What the preparations are exactly, only > the Wayland compositor

Re: [PATCH xwayland 1/3] xwayland: Separate DamagePtr into separate window data

2019-01-16 Thread Adam Jackson
On Tue, 2019-01-15 at 23:21 +0100, Carlos Garnacho wrote: > This will be dissociated in future commits to handle the cases > where windows are being realized before there is a compositor > handling redirection. > > In that case, we still want the DamagePtr to be registered upfront > on RealizeWind

[PATCH xf86-video-vmware] Fix build issues if using xserver built with meson

2019-01-16 Thread Tuomo Rinne
Meson defines variables as: define XSERVER_LIBPCIACCESS whereas autotools defines: define XSERVER_LIBPCIACCESS 1 This fix caters for both forms. Signed-off-by: Tuomo Rinne --- src/vmware.c | 16 src/vmware.h | 4 ++-- src/vmware_bootstrap.c | 14 +++