Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virt-viewer for openSUSE:Factory checked in at 2021-07-21 19:06:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-viewer (Old) and /work/SRC/openSUSE:Factory/.virt-viewer.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-viewer" Wed Jul 21 19:06:26 2021 rev:69 rq:907356 version:10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-viewer/virt-viewer.changes 2021-05-19 17:49:29.361507153 +0200 +++ /work/SRC/openSUSE:Factory/.virt-viewer.new.2632/virt-viewer.changes 2021-07-21 19:07:34.735416494 +0200 @@ -1,0 +2,6 @@ +Tue Jul 20 13:22:18 MDT 2021 - [email protected] + +- bsc#1185531 - virt-viewer 10.0 second display handling + 0005-Fix-creation-of-window-when-using-single-QXL-card-with-2-heads.patch + +------------------------------------------------------------------- New: ---- 0005-Fix-creation-of-window-when-using-single-QXL-card-with-2-heads.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-viewer.spec ++++++ --- /var/tmp/diff_new_pack.YPrYZJ/_old 2021-07-21 19:07:35.251417391 +0200 +++ /var/tmp/diff_new_pack.YPrYZJ/_new 2021-07-21 19:07:35.255417397 +0200 @@ -36,6 +36,7 @@ Patch2: 0002-rpm-explicitly-tell-meson-to-disable-spice-ovirt.patch Patch3: 0003-config.h-avoid-extra-hyphen-in-build-ID-value.patch Patch4: 0004-config.h-conditionally-define-REMOTE_VIEWER_OS_ID.patch +Patch5: 0005-Fix-creation-of-window-when-using-single-QXL-card-with-2-heads.patch Patch50: netcat.patch Patch51: virtview-desktop.patch Patch52: virtview-dont-show-Domain-0.patch ++++++ 0005-Fix-creation-of-window-when-using-single-QXL-card-with-2-heads.patch ++++++ Subject: Fix creation of window when using single QXL card with 2 heads From: Daniel P. Berrang?? [email protected] Mon Jun 28 18:45:25 2021 +0100 Date: Mon Jun 28 18:47:02 2021 +0100: Git: 70fe65f1881d4ecaa3bab563485f5239ea24da24 With a single QXL card with > 1 head, initially only the first head is active. As a result virt-viewer will not create the windows when it first connects. They have to be created explicitly when user requests to activate the window. Fixes: https://gitlab.com/virt-viewer/virt-viewer/-/issues/46 Fixes: https://gitlab.com/virt-viewer/virt-viewer/-/issues/37 Signed-off-by: Daniel P. Berrang?? <[email protected]> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c index c01fe76..06c4497 100644 --- a/src/virt-viewer-app.c +++ b/src/virt-viewer-app.c @@ -2368,6 +2368,7 @@ virt_viewer_app_action_monitor(GSimpleAction *act, { VirtViewerApp *self; VirtViewerWindow *win; + VirtViewerDisplay *display; VirtViewerAppPrivate *priv; int nth; @@ -2379,7 +2380,8 @@ virt_viewer_app_action_monitor(GSimpleAction *act, return; nth = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(act), "nth")); - win = virt_viewer_app_get_nth_window(self, nth); + display = VIRT_VIEWER_DISPLAY(g_hash_table_lookup(priv->displays, GINT_TO_POINTER(nth))); + win = ensure_window_for_display(self, display); virt_viewer_app_action_window(self, win, act, state); }
