Fix bug, this commit MAY break some 6.3 feature, we'll find out.
This commit is contained in:
parent
e2fcf25098
commit
67b67ed834
|
@ -972,7 +972,6 @@ if (!leftlayout) {
|
|||
text += i+1;
|
||||
i = -1;
|
||||
if (x >= ev->x) break;
|
||||
//if (ch <= LENGTH(statuscmds)) statuscmdn = ch - 1;
|
||||
statuscmdn = ch;
|
||||
}
|
||||
}
|
||||
|
@ -1861,9 +1860,10 @@ focusstack(int inc, int hid)
|
|||
{
|
||||
Client *c = NULL, *i;
|
||||
|
||||
if (!selmon->sel && (!hid || (selmon->sel->isfullscreen && lockfullscreen)))
|
||||
if (!selmon->sel && !hid)
|
||||
return;
|
||||
if (!selmon->clients)
|
||||
|
||||
if (!selmon->clients)
|
||||
return;
|
||||
|
||||
if (inc > 0) {
|
||||
|
@ -1884,7 +1884,7 @@ focusstack(int inc, int hid)
|
|||
c = selmon->clients;
|
||||
if (!c)
|
||||
for (; i; i = i->next)
|
||||
if (ISVISIBLE(i) && !HIDDEN(i))
|
||||
if (ISVISIBLE(i) && !(!hid && HIDDEN(i)))
|
||||
c = i;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue