From 1ef8b9886258d857d0c25c9ab2f5220b4acb8065 Mon Sep 17 00:00:00 2001 From: okan Date: Sat, 23 Jul 2011 13:09:11 +0000 Subject: Clarify defines and make them not look like non-local ones; started by a small diff from Thomas Pfaff. ok oga@ --- calmwm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'calmwm.c') 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 @@ -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); -- cgit v1.2.3-2-gb3c3