implemented focus on enterwindow on titlebars

This commit is contained in:
arg@10ksloc.org committed 2006-08-02 11:28:27 +02:00
1 parent 3af6434085
commit 1d85225952
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -202,7 +202,7 @@ enternotify(XEvent *e)
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;