From f775f247731d368c76d9bda3672fbdda7ba21223 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Tue, 31 Mar 2015 09:14:28 +0200 Subject: 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 Reviewed-by: Keith Packard Signed-off-by: Keith Packard (cherry picked from commit c65eda5e6676d942e80eaf2650a670174c8bd84a) --- hw/kdrive/ephyr/hostx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3