[Spice-devel] [PATCH spice-gtk 0/3] Avoid sending extra resize requests

Pavel Grunt pgrunt at redhat.com
Tue Jul 26 15:55:42 UTC 2016


Hi,

Intention of these patches is to avoid sending unnecessary resize requests
which causes strange behavior ("flickering") of GNOME on Wayland guests [0].
The main channel now compares new resize requests with the information about
the monitor configuration stored in the display channels.

I noticed that linux guests (Fedora on GNOME) doesn't always resize to requested
size (eg request 650x480, guest resizes to 648x480) and guest keeps flickering
when this happens. Windows guests behave correctly.

Feel free to ignore the first patch, it just helped me with testing.

[0] https://bugs.freedesktop.org/show_bug.cgi?id=94950

Pavel Grunt (3):
  spicy: Add dialog for precise resizing
  move SpiceDisplayConfig from main channel to session
  main: Do not request to resize when have desired size

 src/channel-main.c       | 53 +++++++++++++++++++++--------------
 src/spice-session-priv.h | 17 ++++++++++++
 src/spice-session.c      | 58 ++++++++++++++++++++++++++++++++++++++
 src/spicy.c              | 72 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 179 insertions(+), 21 deletions(-)

-- 
2.9.2



More information about the Spice-devel mailing list