aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.c
diff options
context:
space:
mode:
authorokan2011-07-23 13:09:11 +0000
committerokan2011-07-23 13:09:11 +0000
commit1ef8b9886258d857d0c25c9ab2f5220b4acb8065 (patch)
treebf08246298b4cd95fd5b3d97b89660cf97819606 /calmwm.c
parent53b7330bd878e0239dad070d7049347c8423f10e (diff)
downloadcwm-1ef8b9886258d857d0c25c9ab2f5220b4acb8065.tar.gz
Clarify defines and make them not look like non-local ones; started by a
small diff from Thomas Pfaff. ok oga@
Diffstat (limited to '')
-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);