JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Jukka also belongs to Copyright holders after all he has contributed and done for...
[dwm.git] / client.c
index c4b0941..3be154b 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1,5 +1,6 @@
 /* © 2006-2007 Anselm R. Garbe <garbeam at gmail dot com>
  * © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
+ * © 2006-2007 Jukka Salmi <jukka at salmi dot ch>
  * © 2007 Premysl Hruby <dfenze at gmail dot com>
  * © 2007 Szabolcs Nagy <nszabolcs at gmail dot com>
  * See LICENSE file for license details. */
@@ -131,7 +132,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);