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 /client.c | |
| parent | applied Sanders patches (numlock2) (diff) | |
| download | dwm-1d852259526e41ebaad7325ee42c118b1cc12f71.tar.gz dwm-1d852259526e41ebaad7325ee42c118b1cc12f71.zip | |
implemented focus on enterwindow on titlebars
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -230,7 +230,7 @@ manage(Window w, XWindowAttributes *wa) | |||
| 230 | XGetTransientForHint(dpy, c->win, &trans); | 230 | XGetTransientForHint(dpy, c->win, &trans); |
| 231 | twa.override_redirect = 1; | 231 | twa.override_redirect = 1; |
| 232 | twa.background_pixmap = ParentRelative; | 232 | twa.background_pixmap = ParentRelative; |
| 233 | twa.event_mask = ExposureMask; | 233 | twa.event_mask = ExposureMask | EnterWindowMask; |
| 234 | 234 | ||
| 235 | c->title = XCreateWindow(dpy, root, c->tx, c->ty, c->tw, c->th, | 235 | c->title = XCreateWindow(dpy, root, c->tx, c->ty, c->tw, c->th, |
| 236 | 0, DefaultDepth(dpy, screen), CopyFromParent, | 236 | 0, DefaultDepth(dpy, screen), CopyFromParent, |
