event.c
changeset 161 f381e34158d9
parent 160 c8db0a825775
child 163 e2e1de08341d
--- a/event.c	Wed Aug 02 11:13:32 2006 +0200
+++ b/event.c	Wed Aug 02 11:28:27 2006 +0200
@@ -202,7 +202,7 @@
 	if(ev->detail == NotifyInferior)
 		return;
 
-	if((c = getclient(ev->window)))
+	if((c = getclient(ev->window)) || (c = getctitle(ev->window)))
 		focus(c);
 	else if(ev->window == root)
 		issel = True;