mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
vo_x11: remove dead assignment
This commit is contained in:
parent
29cc099297
commit
bba1edfca5
@ -300,7 +300,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
|
|||||||
struct priv *p = vo->priv;
|
struct priv *p = vo->priv;
|
||||||
|
|
||||||
Colormap theCmap;
|
Colormap theCmap;
|
||||||
unsigned long xswamask;
|
|
||||||
const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
|
const struct fmt2Xfmtentry_s *fmte = fmt2Xfmt;
|
||||||
|
|
||||||
#ifdef CONFIG_XF86VM
|
#ifdef CONFIG_XF86VM
|
||||||
@ -349,13 +348,6 @@ static int config(struct vo *vo, uint32_t width, uint32_t height,
|
|||||||
#endif
|
#endif
|
||||||
theCmap = vo_x11_create_colormap(vo, &p->vinfo);
|
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_x11_create_vo_window(vo, &p->vinfo, vo->dx, vo->dy, vo->dwidth,
|
||||||
vo->dheight, flags, theCmap, "x11");
|
vo->dheight, flags, theCmap, "x11");
|
||||||
if (WinID > 0)
|
if (WinID > 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user