summaryrefslogtreecommitdiffstats
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
parentapplied Sanders patches (numlock2) (diff)
downloaddwm-1d852259526e41ebaad7325ee42c118b1cc12f71.tar.gz
dwm-1d852259526e41ebaad7325ee42c118b1cc12f71.zip
implemented focus on enterwindow on titlebars
Diffstat (limited to '')
-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)
202 if(ev->detail == NotifyInferior) 202 if(ev->detail == NotifyInferior)
203 return; 203 return;
204 204
205 if((c = getclient(ev->window))) 205 if((c = getclient(ev->window)) || (c = getctitle(ev->window)))
206 focus(c); 206 focus(c);
207 else if(ev->window == root) 207 else if(ev->window == root)
208 issel = True; 208 issel = True;