changeset: 2608:245fc0f24048
tag: tip
user: Kris Maglione <kris_AT_suckless.org>
date: Mon May 17 12:35:12 2010 -0400
files: cmd/wmii/message.c
description:
Closes issue #175.
diff -r 982d88be94e3 -r 245fc0f24048 cmd/wmii/message.c
--- a/cmd/wmii/message.c Mon May 17 12:29:18 2010 -0400
+++ b/cmd/wmii/message.c Mon May 17 12:35:12 2010 -0400
@@ -374,7 +374,7 @@
}
if(!strcmp(s, "~"))
return v->floating;
- if(!getlong(s, &i) || i == 0)
+ if(scrn < 0 || !getlong(s, &i) || i == 0)
return nil;
if(i > 0) {
Received on Mon May 17 2010 - 16:35:23 UTC
This archive was generated by hypermail 2.2.0 : Mon May 17 2010 - 16:36:04 UTC