All of lore.kernel.org
 help / color / mirror / Atom feed
From: marcandre.lureau@redhat.com
To: qemu-devel@nongnu.org
Cc: "Gerd Hoffmann" <kraxel@redhat.com>,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [PATCH 04/11] ui/dbus: update the display when switching surface
Date: Mon, 30 Jan 2023 15:24:24 +0400	[thread overview]
Message-ID: <20230130112431.69559-5-marcandre.lureau@redhat.com> (raw)
In-Reply-To: <20230130112431.69559-1-marcandre.lureau@redhat.com>

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



  parent reply	other threads:[~2023-01-30 11:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-30 11:24 [PATCH 00/11] ui: dbus & misc fixes marcandre.lureau
2023-01-30 11:24 ` [PATCH 01/11] ui/dbus: unregister clipboard on connection close marcandre.lureau
2023-01-30 11:24 ` [PATCH 02/11] audio/dbus: there are no sender for p2p mode marcandre.lureau
2023-01-30 11:24 ` [PATCH 03/11] ui/dbus: set mouse is-absolute during console creation marcandre.lureau
2023-01-30 11:24 ` marcandre.lureau [this message]
2023-01-30 11:24 ` [PATCH 05/11] meson: ensure dbus-display generated code is built before other units marcandre.lureau
2023-01-30 11:24 ` [PATCH 06/11] ui: rename cursor_{put->unref} marcandre.lureau
2023-01-30 11:24 ` [PATCH 07/11] ui: rename cursor_{get->ref}, return it marcandre.lureau
2023-01-30 11:24 ` [PATCH 08/11] ui: keep current cursor with QemuConsole marcandre.lureau
2023-01-30 11:24 ` [PATCH 09/11] ui: set cursor upon listener registration marcandre.lureau
2023-01-30 11:24 ` [PATCH 10/11] ui: set cursor position " marcandre.lureau
2023-01-30 11:24 ` [PATCH 11/11] ui/sdl: get the GL context from the window marcandre.lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230130112431.69559-5-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.