aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-05-30 08:57:44 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-05-30 08:57:44 +0200
commit39ae286861b7e23f6de0ee290e48bda695c1e881 (patch)
tree5df7791089c0e6cddc0250e7bcd22c0c133144b8 /client.c
parent59e65d1709f7fb4c30761e7cea0875903924581e (diff)
downloaddwm-39ae286861b7e23f6de0ee290e48bda695c1e881.tar.gz
applied Jukkas patch
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) {
void
focus(Client *c) {
- if( !c && selscreen || c && !isvisible(c))
+ if((!c && selscreen)|| (c && !isvisible(c)))
for(c = stack; c && !isvisible(c); c = c->snext);
if(sel && sel != c) {
grabbuttons(sel, False);