aboutsummaryrefslogtreecommitdiffstats
path: root/client.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 /client.c
parent3af6434085aee75bd90e22aee95419dc0ae0b969 (diff)
downloaddwm-1d852259526e41ebaad7325ee42c118b1cc12f71.tar.gz
implemented focus on enterwindow on titlebars
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index 434a93b..6f6ed99 100644
--- a/client.c
+++ b/client.c
@@ -230,7 +230,7 @@ manage(Window w, XWindowAttributes *wa)
XGetTransientForHint(dpy, c->win, &trans);
twa.override_redirect = 1;
twa.background_pixmap = ParentRelative;
- twa.event_mask = ExposureMask;
+ twa.event_mask = ExposureMask | EnterWindowMask;
c->title = XCreateWindow(dpy, root, c->tx, c->ty, c->tw, c->th,
0, DefaultDepth(dpy, screen), CopyFromParent,