JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied Jukkas patch
[dwm.git] / client.c
index c4b0941..2872e1e 100644 (file)
--- 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);