[PATCH 15/24] wmifs: Don't ignore geometry strings beginning with '-'.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmifs/wmifs.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/wmifs/wmifs.c b/wmifs/wmifs.c
index 0f25456..07097f2 100644
--- a/wmifs/wmifs.c
+++ b/wmifs/wmifs.c
@@ -348,8 +348,10 @@ int main(int argc, char *argv[])
 				WaveForm = 1;
 				break;
 			default:
-				usage();
-				exit(0);
+				if (strcmp(argv[i-1], "-geometry")) {
+					usage();
+					exit(0);
+				}
 				break;
 			}
 		}
-- 
2.1.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.