summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2015-03-31 09:14:28 +0200
committerAdam Jackson <ajax@redhat.com>2015-06-03 09:05:39 -0400
commitf775f247731d368c76d9bda3672fbdda7ba21223 (patch)
tree0c1e4413d1a81fadc302188914cfb4266a7d9e7b
parent6395873ea9a9ccc4ddb840e295a025a3cb931a62 (diff)
Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
xcb_image_put() prints the entire image, therefore don't use an offset. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit c65eda5e6676d942e80eaf2650a670174c8bd84a)
-rw-r--r--hw/kdrive/ephyr/hostx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c
index 992930d85..227931595 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -1035,7 +1035,7 @@ hostx_paint_rect(KdScreenInfo *screen,
}
else {
xcb_image_put(HostX.conn, scrpriv->win, HostX.gc, scrpriv->ximg,
- dx, dy, 0);
+ 0, 0, 0);
}
xcb_aux_sync(HostX.conn);