comparison 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
comparison
equal deleted inserted replaced
29762:bb26e1db5c90 29763:752432ff3360
1314 if (neg) 1314 if (neg)
1315 type &= ~vo_wm_NETWM; 1315 type &= ~vo_wm_NETWM;
1316 else 1316 else
1317 type |= vo_wm_NETWM; 1317 type |= vo_wm_NETWM;
1318 } else if (!strcmp(arg, "none")) 1318 } else if (!strcmp(arg, "none"))
1319 return 0; 1319 type = 0; // clear; keep parsing
1320 } 1320 }
1321 } 1321 }
1322 1322
1323 return type; 1323 return type;
1324 } 1324 }