diff mbox

[v2,12/12,fixup] spice: qemu_spice_gl_monitor_config + surface

Message ID 1455873289-349-13-git-send-email-kraxel@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gerd Hoffmann Feb. 19, 2016, 9:14 a.m. UTC
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/spice-display.c | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox

Patch

diff --git a/ui/spice-display.c b/ui/spice-display.c
index 34e6d51..806851f 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -922,6 +922,10 @@  static void spice_gl_switch(DisplayChangeListener *dcl,
                              surface_width(ssd->ds),
                              surface_height(ssd->ds),
                              stride, fourcc, false);
+
+        qemu_spice_gl_monitor_config(ssd, 0, 0,
+                                     surface_width(ssd->ds),
+                                     surface_height(ssd->ds));
     }
 }