wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 68734b56d570db93fc34f5251368a3671c440f74
parent f5383bab9410a8c06c57c20292eb8049f5cdaf02
Author: Kris Maglione <jg@suckless.org>
Date:   Sun, 18 Feb 2007 21:58:22 -0500

Calculate VERSION from the hg reversion number.

Diffstat:
config.mk | 2+-
main.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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;