summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 18:14:03 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-15 18:14:03 +0000
commitf2bceedc4915245e68856442c07eb4198bee1e2c (patch)
treec4e30b618668406d5bb2a8e9158ef72f551c0db7 /libvo
parentebff32237b0957f3e794a2a03f5600e43a580f7e (diff)
downloadmpv-f2bceedc4915245e68856442c07eb4198bee1e2c.tar.bz2
mpv-f2bceedc4915245e68856442c07eb4198bee1e2c.tar.xz
Get rid of (besides useless assignments) unused XSizeHints variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27922 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 8b6cfda146..7386505d8a 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -166,7 +166,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
uint32_t d_height, uint32_t flags, char *title,
uint32_t format)
{
- XSizeHints hint;
XVisualInfo vinfo;
XGCValues xgcv;
XSetWindowAttributes xswa;
@@ -230,10 +229,6 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
else
#endif
{
- hint.x = vo_dx;
- hint.y = vo_dy;
- hint.width = d_width;
- hint.height = d_height;
#ifdef CONFIG_XF86VM
if (vm)
{
@@ -248,16 +243,9 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
}
vo_vm_switch(vm_width, vm_height, &modeline_width,
&modeline_height);
- hint.x = (vo_screenwidth - modeline_width) / 2;
- hint.y = (vo_screenheight - modeline_height) / 2;
- hint.width = modeline_width;
- hint.height = modeline_height;
aspect_save_screenres(modeline_width, modeline_height);
} else
#endif
- hint.flags = PPosition | PSize /* | PBaseSize */ ;
- hint.base_width = hint.width;
- hint.base_height = hint.height;
XGetWindowAttributes(mDisplay, DefaultRootWindow(mDisplay),
&attribs);
depth = attribs.depth;