From a633da8ebfa135cba934f6e6c7d5c9e968d2d012 Mon Sep 17 00:00:00 2001 From: Michael Roitzsch Date: Mon, 17 Jun 2002 15:55:00 +0000 Subject: removed temporary overlay position fix, xine-ui is doing the job now CVS patchset: 2088 CVS date: 2002/06/17 15:55:00 --- src/dxr3/video_out_dxr3.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/dxr3/video_out_dxr3.c b/src/dxr3/video_out_dxr3.c index 1a1e2bc86..c0732ffc7 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.28 2002/06/17 15:17:15 mroi Exp $ + * $Id: video_out_dxr3.c,v 1.29 2002/06/17 15:55:00 mroi Exp $ */ /* mpeg1 encoding video out plugin for the dxr3. @@ -1115,16 +1115,6 @@ static void dxr3_overlay_update(dxr3_driver_t *this) /* fill video window with keycolor */ XLockDisplay(this->display); - /* FIXME: This coordinate translation works around what appears - * to be a bug in xine-ui. We can safely remove it, when this - * gets fixed. */ - { - XWindowAttributes attr; - Window dummy; - XGetWindowAttributes(this->display, this->win, &attr); - XTranslateCoordinates(this->display, this->win, attr.root, - win_off_x, win_off_y, &win.xpos, &win.ypos, &dummy); - } XSetForeground(this->display, this->gc, this->color.pixel); XFillRectangle(this->display, this->win, this->gc, win_off_x, win_off_y, this->width, this->height); @@ -1137,11 +1127,8 @@ static void dxr3_overlay_update(dxr3_driver_t *this) if (this->xpos > this->overlay.screen_xres) return; if (this->ypos > this->overlay.screen_yres) return; - /* FIXME: This will be needed again, when above workaround - * becomes obsolete. - * win.xpos = this->xpos; - * win.ypos = this->ypos; - */ + win.xpos = this->xpos; + win.ypos = this->ypos; win.width = this->width; win.height = this->height; -- cgit v1.2.3