Mercurial > mplayer.hg
diff libvo/vo_xvidix.c @ 6095:891cff8aba60
some cleanup, gl/gl2 updated to use vo_window
author | arpi |
---|---|
date | Tue, 14 May 2002 23:44:35 +0000 |
parents | 421781c5b128 |
children | 4446af3c1a75 |
line wrap: on
line diff
--- a/libvo/vo_xvidix.c Tue May 14 22:33:30 2002 +0000 +++ b/libvo/vo_xvidix.c Tue May 14 23:44:35 2002 +0000 @@ -50,8 +50,6 @@ #define UNUSED(x) ((void)(x)) /* Removes warning about unused arguments */ /* X11 related variables */ -static int X_already_started = 0; - /* Colorkey handling */ static XGCValues mGCV; static uint32_t fgColor; @@ -72,12 +70,12 @@ static uint32_t window_width, window_height; /* used by XGetGeometry & XTranslateCoordinates for moving/resizing window */ -static Window mRoot; static uint32_t drwX, drwY, drwWidth, drwHeight, drwBorderWidth, drwDepth, drwcX, drwcY, dwidth, dheight; static void set_window(int force_update,const vo_tune_info_t *info) { + Window mRoot; if ( WinID ) { XGetGeometry(mDisplay, vo_window, &mRoot, &drwX, &drwY, &drwWidth, @@ -417,7 +415,7 @@ vidix_term(); saver_on(mDisplay); /* screen saver back on */ - vo_x11_uninit(mDisplay, vo_window); + vo_x11_uninit(); } static uint32_t preinit(const char *arg)