From 5466da89ad57baaffda02d478e507ca0c2fd4932 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Fri, 14 Jun 2002 13:34:43 +0000 Subject: correct coordinates for keycolor rectangle CVS patchset: 2073 CVS date: 2002/06/14 13:34:43 --- src/dxr3/video_out_dxr3.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index a9985a0b3..a8ae3c1aa 100644 --- a/src/dxr3/video_out_dxr3.c +++ b/src/dxr3/video_out_dxr3.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_dxr3.c,v 1.25 2002/06/12 15:09:08 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.26 2002/06/14 13:34:43 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -1115,7 +1115,8 @@ static void dxr3_overlay_update(dxr3_driver_t *this) /* fill video window with keycolor */ XLockDisplay(this->display); XSetForeground(this->display, this->gc, this->color.pixel); - XFillRectangle(this->display, this->win, this->gc, 0, 0, this->width, this->height); + XFillRectangle(this->display, this->win, this->gc, + win_off_x, win_off_y, this->width, this->height); XUnlockDisplay(this->display); this->need_redraw = 0; -- cgit v1.2.3