aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-02 11:28:27 +0200
committerarg@10ksloc.org <unknown>2006-08-02 11:28:27 +0200
commit1d852259526e41ebaad7325ee42c118b1cc12f71 (patch)
tree9d9992c1595caf5e9d190dd404c091437677362c /event.c
parent3af6434085aee75bd90e22aee95419dc0ae0b969 (diff)
downloaddwm-1d852259526e41ebaad7325ee42c118b1cc12f71.tar.gz
implemented focus on enterwindow on titlebars
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 0359971..a961e5c 100644
--- a/event.c
+++ b/event.c
@@ -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;