some more additions/fixes
This commit is contained in:
1 parent
896f08d7d5
commit
2a0fc84c4a
5 files changed
+32
-3
No files matched your search
@@ -19,6 +19,22 @@ quit(void *aux)
|
||||
running = False;
|
||||
}
|
||||
|
||||
void
|
||||
sel(void *aux)
|
||||
{
|
||||
const char *arg = aux;
|
||||
Client *c;
|
||||
|
||||
if(!arg || !stack)
|
||||
return;
|
||||
if(!strncmp(arg, "next", 5))
|
||||
focus(stack->snext ? stack->snext : stack);
|
||||
else if(!strncmp(arg, "prev", 5)) {
|
||||
for(c = stack; c && c->snext; c = c->snext);
|
||||
focus(c ? c : stack);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
kill(void *aux)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user