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:
parent
66212ca0d2
commit
c65eda5e66
|
@ -1035,7 +1035,7 @@ hostx_paint_rect(KdScreenInfo *screen,
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
xcb_image_put(HostX.conn, scrpriv->win, HostX.gc, scrpriv->ximg,
|
xcb_image_put(HostX.conn, scrpriv->win, HostX.gc, scrpriv->ximg,
|
||||||
dx, dy, 0);
|
0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
xcb_aux_sync(HostX.conn);
|
xcb_aux_sync(HostX.conn);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user