summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/en/mplayer.12
-rw-r--r--libvo/x11_common.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1
index e8fcecc5fa..0e8582f53b 100644
--- a/DOCS/man/en/mplayer.1
+++ b/DOCS/man/en/mplayer.1
@@ -3101,7 +3101,7 @@ Use the _WIN_LAYER hint with the given layer number.
.IPs netwm
Force NETWM style.
.IPs "none\ "
-Do not set fullscreen window layer.
+Clear the list of modes; you can add modes to enable afterward.
.IPs stays_on_top
Use _NETWM_STATE_STAYS_ON_TOP hint if available.
.REss
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index cdb695290e..036d77e55f 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1316,7 +1316,7 @@ static int vo_x11_get_fs_type(int supported)
else
type |= vo_wm_NETWM;
} else if (!strcmp(arg, "none"))
- return 0;
+ type = 0; // clear; keep parsing
}
}