diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-17 15:55:00 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2002-06-17 15:55:00 +0000 |
commit | a633da8ebfa135cba934f6e6c7d5c9e968d2d012 (patch) | |
tree | 3a68ed8408f793cac2b7c2e83bb7f737c48bd47a | |
parent | a7030c15b492e8c3725476335df4afbfc6ef82cf (diff) | |
download | xine-lib-a633da8ebfa135cba934f6e6c7d5c9e968d2d012.tar.gz xine-lib-a633da8ebfa135cba934f6e6c7d5c9e968d2d012.tar.bz2 |
removed temporary overlay position fix,
xine-ui is doing the job now
CVS patchset: 2088
CVS date: 2002/06/17 15:55:00
-rw-r--r-- | src/dxr3/video_out_dxr3.c | 19 |
1 files 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; |