mirror of
https://github.com/mpv-player/mpv
synced 2025-03-20 18:28:01 +00:00
Slightly change behavior of "none" if fstype specification.
In a list of enabled fstypes, "none" now clears the list rather than disabling all fstypes and interrupting the parser. To enable only one (or more) fstypes, list the types to enable after "none". For example: "-fstype none" is the same as before: all disabled "-fstype none,fullscreen" enables only the fullscreen type git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29805 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
9e259c79bd
commit
0746f99a0a
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user