diff options
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/screen.c b/screen.c index 9515d91..461d308 100644 --- a/screen.c +++ b/screen.c @@ -62,8 +62,9 @@ screen_init(struct screen_ctx *sc, u_int which) menu_init(sc); rootattr.cursor = Cursor_normal; - rootattr.event_mask = CHILDMASK|PropertyChangeMask|EnterWindowMask| - LeaveWindowMask|ColormapChangeMask|BUTTONMASK; + rootattr.event_mask = SubstructureRedirectMask|SubstructureNotifyMask| + PropertyChangeMask|EnterWindowMask|LeaveWindowMask| + ColormapChangeMask|BUTTONMASK; XChangeWindowAttributes(X_Dpy, sc->rootwin, CWEventMask|CWCursor, &rootattr); |