diff options
Diffstat (limited to 'src/cmd/rio/client.c')
-rw-r--r-- | src/cmd/rio/client.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/rio/client.c b/src/cmd/rio/client.c index c3b36df1..256261ca 100644 --- a/src/cmd/rio/client.c +++ b/src/cmd/rio/client.c @@ -19,7 +19,7 @@ setactive(Client *c, int on) if(c->parent == c->screen->root) return; - + if(on){ XUngrabButton(dpy, AnyButton, AnyModifier, c->parent); XSetInputFocus(dpy, c->window, RevertToPointerRoot, timestamp()); @@ -254,7 +254,7 @@ void shuffle(int up) { Client **l, *c; - + if(clients == 0 || clients->next == 0) return; if(!up){ @@ -282,4 +282,3 @@ shuffle(int up) /* top(clients); */ /* active(clients); */ } - |