expand CHILDMASK

This commit is contained in:
okan
2012-12-18 18:39:55 +00:00
parent 86eaf5e973
commit c565b790ed
2 changed files with 3 additions and 3 deletions

View File

@ -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);