aewl
diff event.c @ 161:f381e34158d9
implemented focus on enterwindow on titlebars
author | arg@10ksloc.org |
---|---|
date | Wed, 02 Aug 2006 11:28:27 +0200 |
parents | c8db0a825775 |
children | e2e1de08341d |
line diff
1.1 --- a/event.c Wed Aug 02 11:13:32 2006 +0200 1.2 +++ b/event.c Wed Aug 02 11:28:27 2006 +0200 1.3 @@ -202,7 +202,7 @@ 1.4 if(ev->detail == NotifyInferior) 1.5 return; 1.6 1.7 - if((c = getclient(ev->window))) 1.8 + if((c = getclient(ev->window)) || (c = getctitle(ev->window))) 1.9 focus(c); 1.10 else if(ev->window == root) 1.11 issel = True;