[PATCH 4/5] Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case

Egbert Eich eich at freedesktop.org
Tue Mar 31 00:14:28 PDT 2015


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

Signed-off-by: Egbert Eich <eich at 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 bdffba9..99b7716 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);
-- 
1.8.4.5



More information about the xorg-devel mailing list