tapplied Jukkas patch - dwm - [fork] customized build of dwm, the dynamic windo… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 39ae286861b7e23f6de0ee290e48bda695c1e881 | |
parent 59e65d1709f7fb4c30761e7cea0875903924581e | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Wed, 30 May 2007 08:57:44 +0200 | |
applied Jukkas patch | |
Diffstat: | |
M client.c | 2 +- | |
M event.c | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -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); | |
diff --git a/event.c b/event.c | |
t@@ -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; |