Introduction
Introduction Statistics Contact Development Disclaimer Help
prepared first release - wmname - sets/prints window manager name similiar to h…
git clone git://git.suckless.org/wmname
Log
Files
Refs
README
LICENSE
---
commit 64b3a1fd857f961f62094d47c61cd3d1577adb5b
parent b0a608b5385f53252de9508f250592880ef479e9
Author: Anselm R Garbe <[email protected]>
Date: Sat, 2 Aug 2008 19:36:01 +0100
prepared first release
Diffstat:
M LICENSE | 2 +-
M config.mk | 2 +-
M wmname.c | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/LICENSE b/LICENSE
@@ -1,6 +1,6 @@
MIT/X Consortium License
-© 2008 Anselm R. Garbe <garbeam at gmail dot com>
+© 2008 Anselm R Garbe <garbeam at gmail dot com>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
diff --git a/config.mk b/config.mk
@@ -1,5 +1,5 @@
# wmname version
-VERSION = 0.2
+VERSION = 0.1
# Customize below to fit your system
diff --git a/wmname.c b/wmname.c
@@ -27,12 +27,12 @@ main(int argc, char **argv) {
Atom netwmcheck, netwmname, utf8_string, real;
if(argc > 2)
- eprint("usage: setwmname [name] [-v]\n");
+ eprint("usage: wmname [name] [-v]\n");
else if(argc == 2 && !strncmp(argv[1], "-v", 3))
- eprint("setwmname-"VERSION", © 2008 Anselm R Garbe\n", stdout…
+ eprint("wmname-"VERSION", © 2008 Anselm R Garbe\n", stdout);
if(!(dpy = XOpenDisplay(0)))
- eprint("setwmname: cannot open display\n");
+ eprint("wmname: cannot open display\n");
root = DefaultRootWindow(dpy);
netwmcheck = XInternAtom(dpy, "_NET_SUPPORTING_WM_CHECK", False);
netwmname = XInternAtom(dpy, "_NET_WM_NAME", False);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.