diff options
author | Egbert Eich <eich@freedesktop.org> | 2015-03-31 09:14:28 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-05-12 09:50:37 -0700 |
commit | c65eda5e6676d942e80eaf2650a670174c8bd84a (patch) | |
tree | 394fd11277e519dcdc892062fc18ace28c382086 | |
parent | 66212ca0d2f194fd16db65e863f0a2d613e180ea (diff) |
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>
-rw-r--r-- | hw/kdrive/ephyr/hostx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c index f5a6f6544..7f6fdc44c 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); |