diff options
-rw-r--r-- | client.c | 2 | ||||
-rw-r--r-- | event.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); @@ -244,7 +244,7 @@ enternotify(XEvent *e) { if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) return; - if(c = getclient(ev->window)) + if((c = getclient(ev->window))) focus(c); else if(ev->window == root) { selscreen = True; |