diff options
author | okan <okan> | 2012-12-18 18:39:55 +0000 |
---|---|---|
committer | okan <okan> | 2012-12-18 18:39:55 +0000 |
commit | c565b790eda26074619aaf7c29234b6975862056 (patch) | |
tree | 377df0b51d30e9a69c7ce9b51b40a1c9cb217ae5 /screen.c | |
parent | 86eaf5e973a19f2edb9b7c2921363b7a70413049 (diff) | |
download | cwm-c565b790eda26074619aaf7c29234b6975862056.tar.gz cwm-c565b790eda26074619aaf7c29234b6975862056.tar.xz cwm-c565b790eda26074619aaf7c29234b6975862056.zip |
expand CHILDMASK
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); |