X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/57871415c16664cce494b68dd3e985bcb32942c5..0cf3ba0eab1e3b05515907b29fbb739321a7cbed:/client.c?ds=sidebyside 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,