summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index c4b0941..2872e1e 100644
--- a/client.c
+++ b/client.c
@@ -131,7 +131,7 @@ detach(Client *c) {
131 131
132void 132void
133focus(Client *c) { 133focus(Client *c) {
134 if( !c && selscreen || c && !isvisible(c)) 134 if((!c && selscreen)|| (c && !isvisible(c)))
135 for(c = stack; c && !isvisible(c); c = c->snext); 135 for(c = stack; c && !isvisible(c); c = c->snext);
136 if(sel && sel != c) { 136 if(sel && sel != c) {
137 grabbuttons(sel, False); 137 grabbuttons(sel, False);