aewl
diff event.c @ 687:a76799907854
removed client title bar
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Sun, 14 Jan 2007 22:27:29 +0100 |
parents | 7672a1041218 |
children | 399f08187c27 |
line diff
1.1 --- a/event.c Fri Jan 12 21:56:01 2007 +0100 1.2 +++ b/event.c Sun Jan 14 22:27:29 2007 +0100 1.3 @@ -196,7 +196,7 @@ 1.4 if(c->isfloat) { 1.5 resize(c, False, TopLeft); 1.6 if(!isvisible(c)) 1.7 - ban(c); 1.8 + XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); 1.9 } 1.10 else 1.11 arrange(); 1.12 @@ -230,7 +230,7 @@ 1.13 1.14 if(ev->mode != NotifyNormal || ev->detail == NotifyInferior) 1.15 return; 1.16 - if(((c = getclient(ev->window)) || (c = getctitle(ev->window))) && isvisible(c)) 1.17 + if((c = getclient(ev->window)) && isvisible(c)) 1.18 focus(c); 1.19 else if(ev->window == root) { 1.20 issel = True; 1.21 @@ -247,8 +247,6 @@ 1.22 if(ev->count == 0) { 1.23 if(barwin == ev->window) 1.24 drawstatus(); 1.25 - else if((c = getctitle(ev->window))) 1.26 - drawclient(c); 1.27 } 1.28 } 1.29 1.30 @@ -331,7 +329,6 @@ 1.31 } 1.32 if(ev->atom == XA_WM_NAME || ev->atom == netatom[NetWMName]) { 1.33 updatetitle(c); 1.34 - resizetitle(c); 1.35 drawclient(c); 1.36 } 1.37 }