[Bug 104841] display is corrupted on hidpi clients

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 4 10:38:18 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104841

--- Comment #8 from Frediano Ziglio <fziglio at redhat.com> ---
This patch works:


diff --git a/src/spice-widget.c b/src/spice-widget.c
index 1e7add4..820509c 100644
--- a/src/spice-widget.c
+++ b/src/spice-widget.c
@@ -2598,10 +2598,10 @@ static void invalidate(SpiceChannel *channel,
     int x1, y1, x2, y2;
     double s;
     GdkRectangle rect = {
-        .x = x,
-        .y = y,
-        .width = w,
-        .height = h
+        .x = x - 1,
+        .y = y - 1,
+        .width = w + 2,
+        .height = h + 2
     };

 #if HAVE_EGL


seems a Gdk bug to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-bugs/attachments/20180404/6812d652/attachment.html>


More information about the spice-bugs mailing list