summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-23 20:19:06 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-23 20:19:06 +0000
commitff05d203b2b7ef476419df6fdf5de83a3be4b391 (patch)
tree48fc0d498092c2b862d938fe4c87f3d96f519664
parent307953643defb92698ae6e51f02cdcb0139fb1ba (diff)
downloadmpv-ff05d203b2b7ef476419df6fdf5de83a3be4b391.tar.bz2
mpv-ff05d203b2b7ef476419df6fdf5de83a3be4b391.tar.xz
Remove some usnused variables and commented-out code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28007 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/vo_x11.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index f34b79b37b..37a10bfee5 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -306,7 +306,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
// int interval, prefer_blank, allow_exp, nothing;
unsigned int fg, bg;
- XGCValues xgcv;
Colormap theCmap;
XSetWindowAttributes xswa;
unsigned long xswamask;
@@ -315,7 +314,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
#ifdef CONFIG_XF86VM
int vm = flags & VOFLAG_MODESWITCHING;
#endif
- int fullscreen = flags & (VOFLAG_FULLSCREEN|VOFLAG_MODESWITCHING);
Flip_Flag = flags & VOFLAG_FLIPPING;
zoomFlag = flags & VOFLAG_SWSCALE;
@@ -330,10 +328,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
srcW = width;
srcH = height;
-// if(!fullscreen) zoomFlag=1; //it makes no sense to avoid zooming on windowd mode
-
-//printf( "w: %d h: %d\n\n",vo_dwidth,vo_dheight );
-
XGetWindowAttributes(mDisplay, mRootWin, &attribs);
depth = attribs.depth;