[bar] Add EnterWindowMask for all BarWindow event
This commit is contained in:
parent
0e812d4eef
commit
3c4742b986
2
bar.c
2
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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user