From 68734b56d570db93fc34f5251368a3671c440f74 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 18 Feb 2007 21:58:22 -0500 Subject: [PATCH] Calculate VERSION from the hg reversion number. --- config.mk | 2 +- main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.mk b/config.mk index 3385e2df..0b85d2ba 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # wmii version -VERSION = 3.6-rc2 +VERSION != hg tip | awk -F '[: ]+' '/^changeset:/ { print "hg" $$2 }' CONFVERSION = 3.5 # Customize below to fit your system diff --git a/main.c b/main.c index d76d45c6..1fd5d328 100644 --- a/main.c +++ b/main.c @@ -385,8 +385,8 @@ main(int argc, char *argv[]) { init_screen(s); pmap = XCreatePixmap(blz.dpy, blz.root, s->rect.width, s->rect.height, DefaultDepth(blz.dpy, blz.screen)); - wa.event_mask = SubstructureRedirectMask | EnterWindowMask | LeaveWindowMask - | FocusChangeMask; + wa.event_mask = SubstructureRedirectMask | EnterWindowMask + | LeaveWindowMask | FocusChangeMask; wa.cursor = cursor[CurNormal]; XChangeWindowAttributes(blz.dpy, blz.root, CWEventMask | CWCursor, &wa); wa.override_redirect = 1;