summaryrefslogtreecommitdiffstats
path: root/wmname.c
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-08-02 19:36:01 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-08-02 19:36:01 +0100
commit64b3a1fd857f961f62094d47c61cd3d1577adb5b (patch)
tree6bb29c5e94b9944c8f4d08749ba5f571fa80054e /wmname.c
parentb0a608b5385f53252de9508f250592880ef479e9 (diff)
downloadwmname-64b3a1fd857f961f62094d47c61cd3d1577adb5b.tar.gz
wmname-64b3a1fd857f961f62094d47c61cd3d1577adb5b.zip
prepared first release0.1
Diffstat (limited to 'wmname.c')
-rw-r--r--wmname.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wmname.c b/wmname.c
index 924e247..7d846f3 100644
--- 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);