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>
(cherry picked from commit c65eda5e66)
This commit is contained in:
Egbert Eich 2015-03-31 09:14:28 +02:00 committed by Adam Jackson
parent 6395873ea9
commit f775f24773
1 changed files with 1 additions and 1 deletions

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