summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-17 06:56:29 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2009-11-17 06:56:29 +0200
commit34279a8ce3c02bb744c635bfa9650494a68a333b (patch)
treedb8d24c8fadff55a3cbd2d074ada65ecd57baa6d /libvo/x11_common.c
parent53ecafadc8bddc68f7cddecd6e4675bcdaf4a8fd (diff)
downloadmpv-34279a8ce3c02bb744c635bfa9650494a68a333b.tar.bz2
mpv-34279a8ce3c02bb744c635bfa9650494a68a333b.tar.xz
cosmetics: remove some unused variables
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index 0c931c9833..ea1f53971a 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -765,7 +765,6 @@ void vo_x11_uninit(struct vo *vo)
int vo_x11_check_events(struct vo *vo)
{
struct vo_x11_state *x11 = vo->x11;
- struct MPOpts *opts = vo->opts;
Display *display = vo->x11->display;
int ret = 0;
XEvent Event;
@@ -790,8 +789,6 @@ int vo_x11_check_events(struct vo *vo)
ret |= VO_EVENT_EXPOSE;
break;
case ConfigureNotify:
-// if (!vo_fs && (Event.xconfigure.width == opts->vo_screenwidth || Event.xconfigure.height == opts->vo_screenheight)) break;
-// if (vo_fs && Event.xconfigure.width != opts->vo_screenwidth && Event.xconfigure.height != opts->vo_screenheight) break;
if (x11->window == None)
break;
{