Re: [PATCH xserver v3] xwayland: use pixmap size on present flip

2018-06-11 Thread Michel Dänzer
On 2018-06-10 06:34 PM, Roman Gilg wrote: > The only question open to me is how the window and pixmap size can be > different at all at this point. But taking the Pixmap size is in any > case better. Agreed on both counts. > I reviewed v3 on patchworks. > > Reviewed-by: Roman Gilg Pushed with

Re: [PATCH xserver v3] xwayland: use pixmap size on present flip

2018-06-10 Thread Roman Gilg
The only question open to me is how the window and pixmap size can be different at all at this point. But taking the Pixmap size is in any case better. I reviewed v3 on patchworks. Reviewed-by: Roman Gilg ___ xorg-devel@lists.x.org: X.Org development A

[PATCH xserver v3] xwayland: use pixmap size on present flip

2018-06-08 Thread Olivier Fourdan
If the pixmap size does not match the present box size, flickering occurs. This can happen when the client changes its size (e.g. switching to fullscreen), and since the buffer is kept as long as the pixmap is valid, once the buffer is created, it remains at the wrong (old) size and causes continu