Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6691aef
)
Add Version to mod shift v
author
Marco Peereboom
<marco@conformal.com>
Thu, 28 May 2009 17:44:20 +0000
(17:44 +0000)
committer
Marco Peereboom
<marco@conformal.com>
Thu, 28 May 2009 17:44:20 +0000
(17:44 +0000)
scrotwm.c
patch
|
blob
|
history
diff --git
a/scrotwm.c
b/scrotwm.c
index
f6a175c
..
31a7364
100644
(file)
--- a/
scrotwm.c
+++ b/
scrotwm.c
@@
-912,7
+912,8
@@
version(struct swm_region *r, union arg *args)
{
bar_version = !bar_version;
if (bar_version)
- strlcpy(bar_vertext, cvstag, sizeof bar_vertext);
+ snprintf(bar_vertext, sizeof bar_vertext, "Version: %s CVS: %s",
+ SWM_VERSION, cvstag);
else
strlcpy(bar_vertext, "", sizeof bar_vertext);
bar_update();