qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/11] ui/dbus: update the display when switching surface


From: marcandre . lureau
Subject: [PATCH 04/11] ui/dbus: update the display when switching surface
Date: Mon, 30 Jan 2023 15:24:24 +0400

From: Marc-André Lureau <marcandre.lureau@redhat.com>

This seems to be the expected behaviour.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
 ui/dbus-listener.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ui/dbus-listener.c b/ui/dbus-listener.c
index f9fc8eda51..620d9450cc 100644
--- a/ui/dbus-listener.c
+++ b/ui/dbus-listener.c
@@ -321,6 +321,8 @@ static void dbus_gfx_switch(DisplayChangeListener *dcl,
         /* why not call disable instead? */
         return;
     }
+
+    dbus_gfx_update(dcl, 0, 0, surface_width(ddl->ds), 
surface_height(ddl->ds));
 }
 
 static void dbus_mouse_set(DisplayChangeListener *dcl,
-- 
2.39.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]