mirror of https://github.com/0intro/wmii
Closes issue #175.
This commit is contained in:
parent
38ae2bcc17
commit
2f68695947
|
@ -374,7 +374,7 @@ strarea(View *v, ulong scrn, const char *s) {
|
|||
}
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue