diff options
| author | arg@10ksloc.org <unknown> | 2006-08-02 11:28:27 +0200 |
|---|---|---|
| committer | arg@10ksloc.org <unknown> | 2006-08-02 11:28:27 +0200 |
| commit | 1d852259526e41ebaad7325ee42c118b1cc12f71 (patch) | |
| tree | 9d9992c1595caf5e9d190dd404c091437677362c /event.c | |
| parent | applied Sanders patches (numlock2) (diff) | |
| download | dwm-1d852259526e41ebaad7325ee42c118b1cc12f71.tar.gz dwm-1d852259526e41ebaad7325ee42c118b1cc12f71.zip | |
implemented focus on enterwindow on titlebars
Diffstat (limited to 'event.c')
| -rw-r--r-- | event.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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; |
