From 3c4742b986000d29358a173e6ebeece4e25f579e Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 12 Oct 2008 12:19:00 +0200 Subject: [PATCH] [bar] Add EnterWindowMask for all BarWindow event --- bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bar.c b/bar.c index a6a6ad4..7bf0547 100644 --- a/bar.c +++ b/bar.c @@ -42,7 +42,7 @@ bar_create(int x, int y, uint w, uint h, int bord, uint color) at.override_redirect = 1; at.background_pixmap = ParentRelative; - at.event_mask = ButtonPressMask | ExposureMask; + at.event_mask = ButtonPressMask | ExposureMask | EnterWindowMask; bw->dr = XCreatePixmap(dpy, root, w, h, DefaultDepth(dpy, screen)); bw->win = XCreateWindow(dpy, root, x, y, w, h, bord, DefaultDepth(dpy, screen),