mirror of
https://github.com/0intro/wmii
synced 2024-11-23 06:11:21 +03:00
fix a small Alt-space issue (stricter checking needed for the case where both the selected area and t->revert were 0)
This commit is contained in:
parent
1e6210396d
commit
c0e7213544
@ -78,7 +78,7 @@ select_area(Area *a, char *arg)
|
||||
if(!strncmp(arg, "toggle", 7)) {
|
||||
if(i)
|
||||
i = 0;
|
||||
else if(t->revert < t->narea)
|
||||
else if(t->revert > 0 && t->revert < t->narea)
|
||||
i = t->revert;
|
||||
else
|
||||
i = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user