summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorMartin Herkt <lachs0r@srsfckn.biz>2014-04-24 18:36:40 +0200
committerMartin Herkt <lachs0r@srsfckn.biz>2014-05-04 02:46:11 +0200
commit81c076b2f8c8b0da0ebcf1c8aadf4c7dfb5e5d22 (patch)
treea86a7ba0ff3e501aa9f39e9c555fbb19b3add57e /video
parent9d9bba8f137a504206ee9910dd2978ff981e680d (diff)
downloadmpv-81c076b2f8c8b0da0ebcf1c8aadf4c7dfb5e5d22.tar.bz2
mpv-81c076b2f8c8b0da0ebcf1c8aadf4c7dfb5e5d22.tar.xz
options: remove obsolete --fsmode-dontuse
Diffstat (limited to 'video')
-rw-r--r--video/out/x11_common.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/video/out/x11_common.c b/video/out/x11_common.c
index 537e1124f1..8ebe206606 100644
--- a/video/out/x11_common.c
+++ b/video/out/x11_common.c
@@ -633,11 +633,6 @@ static void vo_x11_decoration(struct vo *vo, int d)
if (!vo->opts->WinID)
return;
- if (vo->opts->fsmode & 8) {
- XSetTransientForHint(x11->display, x11->window,
- RootWindow(x11->display, x11->screen));
- }
-
vo_MotifHints = XInternAtom(x11->display, "_MOTIF_WM_HINTS", 0);
if (vo_MotifHints != None) {
if (!x11->got_motif_hints) {
@@ -664,13 +659,12 @@ static void vo_x11_decoration(struct vo *vo, int d)
vo_MotifWmHints.functions = x11->oldfuncs;
d = x11->olddecor;
}
- vo_MotifWmHints.decorations =
- d | ((vo->opts->fsmode & 2) ? MWM_DECOR_MENU : 0);
+ vo_MotifWmHints.decorations = d;
XChangeProperty(x11->display, x11->window, vo_MotifHints,
vo_MotifHints, 32,
PropModeReplace,
(unsigned char *) &vo_MotifWmHints,
- (vo->opts->fsmode & 4) ? 4 : 5);
+ 5);
}
}