diff libvo/x11_common.c @ 29763:752432ff3360

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
author corey
date Fri, 30 Oct 2009 22:18:29 +0000
parents 75f54a9e4160
children ed0aa4f40deb
line wrap: on
line diff
--- a/libvo/x11_common.c	Fri Oct 30 14:13:25 2009 +0000
+++ b/libvo/x11_common.c	Fri Oct 30 22:18:29 2009 +0000
@@ -1316,7 +1316,7 @@
                 else
                     type |= vo_wm_NETWM;
             } else if (!strcmp(arg, "none"))
-                return 0;
+                type = 0; // clear; keep parsing
         }
     }