<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - display is corrupted on hidpi clients"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104841#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - display is corrupted on hidpi clients"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104841">bug 104841</a>
from <span class="vcard"><a class="email" href="mailto:fziglio@redhat.com" title="Frediano Ziglio <fziglio@redhat.com>"> <span class="fn">Frediano Ziglio</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>