[PATCH virt-viewer] Disable CSD to avoid rendering issues

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

 



Due to recent changes in gtk+ the content of window is not rendered
properly in Windows 10 when the client side decorations are used.

It is possible to disable the client side decorations using
the GTK_CSD="0" environment variable.

Keep them disabled to avoid issues.

Related:
https://bugzilla.redhat.com/show_bug.cgi?id=1352216
---
I know it is not a solution. virt-viewer should learn to work properly with CSD
---
 src/virt-viewer-util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/virt-viewer-util.c b/src/virt-viewer-util.c
index 0491f73..1b0335d 100644
--- a/src/virt-viewer-util.c
+++ b/src/virt-viewer-util.c
@@ -295,6 +295,8 @@ void virt_viewer_util_init(const char *appname)
         }
     }
 #endif
+    /* FIXME: avoid rendering issues with csd - used by default in Win10*/
+    g_setenv("GTK_CSD", "0", TRUE);
 
     setlocale(LC_ALL, "");
     bindtextdomain(GETTEXT_PACKAGE, LOCALE_DIR);
-- 
2.9.2

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux