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

From: Egbert Eich <eich@freedesktop.org>
Date: Tue Mar 31 09:14:28 2015 +0200
Subject: [PATCH]Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
Patch-mainline: xorg-server-1.17.2
Git-commit: f775f247731d368c76d9bda3672fbdda7ba21223
Git-repo: git://anongit.freedesktop.org/git/xorg/xserver
References: bsc#925019
Signed-off-by: Egbert Eich <eich@suse.com>

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)
---
 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 992930d..2279315 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);
openSUSE Build Service is sponsored by