Introduction
Introduction Statistics Contact Development Disclaimer Help
hotfix - lsw - lists window titles of X clients to stdout
git clone git://git.suckless.org/lsw
Log
Files
Refs
README
LICENSE
---
commit 2f40506caf67563c5ff59f2ef277ae2e2f409f4b
parent 490ecea1bdc260bbe9e91e9cf621c81d89d9e621
Author: Anselm R. Garbe <[email protected]>
Date: Tue, 10 Oct 2006 09:13:03 +0200
hotfix
Diffstat:
M lsw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lsw.c b/lsw.c
@@ -45,12 +45,12 @@ main(int argc, char *argv[]) {
Window *wins, d1, d2;
XWindowAttributes wa;
- if((argc) > 1 && !strncmp(argv[1], "-v", 3)) {
+ if((argc > 1) && !strncmp(argv[1], "-v", 3)) {
fputs("lsw-"VERSION", (C)opyright MMVI Anselm R. Garbe\n", std…
exit(EXIT_SUCCESS);
}
if(!(dpy = XOpenDisplay(0))) {
- fputs("wtool: cannot open display\n", stderr);
+ fputs("lsw: cannot open display\n", stderr);
exit(EXIT_FAILURE);
}
root = RootWindow(dpy, DefaultScreen(dpy));
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.