Re: [Spice-devel] [PATCH spice-gtk] egl: Adjust to window scaling

2019-03-06 Thread Christophe Fergeau
On Sun, Mar 03, 2019 at 10:11:08AM +0200, Snir Sheriber wrote: > When GDK_SCALE is != 1 and egl is used, the presented image does not > fit to the window (scale of 2 is often used with hidpi monitors). > Usually this is not a problem since all components are adjusted by > gdk/gtk but with egl, pixe

[Spice-devel] [PATCH spice-gtk] egl: Adjust to window scaling

2019-03-03 Thread Snir Sheriber
When GDK_SCALE is != 1 and egl is used, the presented image does not fit to the window (scale of 2 is often used with hidpi monitors). Usually this is not a problem since all components are adjusted by gdk/gtk but with egl, pixel-based data is not being scaled. In this case window's scale value can