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>
This commit is contained in:
Egbert Eich 2015-03-31 09:14:28 +02:00 committed by Keith Packard
parent 66212ca0d2
commit c65eda5e66

View File

@ -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);