summaryrefslogtreecommitdiffstats
path: root/video/out/x11_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/x11_common.c')
-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);
}
}