aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'calmwm.c')
-rw-r--r--calmwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calmwm.c b/calmwm.c
index a519100..5fb67f6 100644
--- a/calmwm.c
+++ b/calmwm.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: calmwm.c,v 1.56 2011/06/24 06:52:23 okan Exp $
+ * $OpenBSD: calmwm.c,v 1.57 2011/07/23 13:09:11 okan Exp $
*/
#include <sys/param.h>
@@ -180,8 +180,8 @@ x_setupscreen(struct screen_ctx *sc, u_int which)
xu_setwmname(sc);
rootattr.cursor = Cursor_normal;
- rootattr.event_mask = ChildMask|PropertyChangeMask|EnterWindowMask|
- LeaveWindowMask|ColormapChangeMask|ButtonMask;
+ rootattr.event_mask = CHILDMASK|PropertyChangeMask|EnterWindowMask|
+ LeaveWindowMask|ColormapChangeMask|BUTTONMASK;
XChangeWindowAttributes(X_Dpy, sc->rootwin,
CWEventMask|CWCursor, &rootattr);