File u_Xephyr-Fix-screen-image-draw-for-the-non-Glamor-non-XHSM-case.patch of Package xorg-x11-server.1462

From: Egbert Eich <eich@freedesktop.org>
Date: Mon Mar 30 17:53:24 2015 +0200
Subject: [PATCH]Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
Patch-mainline: to be upstreamed

References: bnc#925019
Signed-off-by: Egbert Eich <eich@suse.de>

xcb_image_put() prints the entire image, therefore don't use an offset.

Signed-off-by: Egbert Eich <eich@freedesktop.org>
---
 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 3c2c300..b307b64 100644
--- a/hw/kdrive/ephyr/hostx.c
+++ b/hw/kdrive/ephyr/hostx.c
@@ -819,7 +819,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);
openSUSE Build Service is sponsored by