summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-01 00:46:13 +0100
committerwm4 <wm4@nowhere>2012-11-01 02:12:18 +0100
commitbba1edfca598b6cb290ac5304839d62a434e8dfa (patch)
tree80d3467d1bd040cb8e4656e862c3a1d2d68dbe70
parent29cc099297498a08aaa99da26dc404bc9441ea9f (diff)
downloadmpv-bba1edfca598b6cb290ac5304839d62a434e8dfa.tar.bz2
mpv-bba1edfca598b6cb290ac5304839d62a434e8dfa.tar.xz
vo_x11: remove dead assignment
-rw-r--r--libvo/vo_x11.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index 8090821fa8..3c62c35bce 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -300,7 +300,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
struct priv *p = vo->priv;
Colormap theCmap;
- unsigned long xswamask;
const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
#ifdef CONFIG_XF86VM
@@ -349,13 +348,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
#endif
theCmap = vo_x11_create_colormap(vo, &p->vinfo);
- xswamask = CWBackPixel | CWBorderPixel | CWColormap;
-
-#ifdef CONFIG_XF86VM
- if (vm)
- xswamask |= CWOverrideRedirect;
-#endif
-
vo_x11_create_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth,
vo->dheight, flags, theCmap, "x11");
if (WinID > 0)