wmutils

X windows manipulation utilities
git clone git://z3bra.org/wmutils
Log | Files | Refs | LICENSE

commit 3eb29b06a2e57b17ad8f53784ab4e61cbb1d1498
parent ff32143c258e3f83b6c79ae18fc90551781d3541
Author: dcat <dcat@iotek.org>
Date:   Mon Dec  1 10:12:34 2014

fix

Diffstat:
 wattr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/wattr.c b/wattr.c @@ -101,11 +101,11 @@ main(int argc, char **argv) for (i=0; i<strlen(argv[1]); i++) { switch (argv[1][i]) { - case 'b': printf("%d", getattribute(w, ATTR_W)); break; + case 'b': printf("%d", getattribute(w, ATTR_B)); break; case 'h': printf("%d", getattribute(w, ATTR_H)); break; case 'x': printf("%d", getattribute(w, ATTR_X)); break; case 'y': printf("%d", getattribute(w, ATTR_Y)); break; - case 'w': printf("%d", getattribute(w, ATTR_B)); break; + case 'w': printf("%d", getattribute(w, ATTR_W)); break; default : exists(w) ? exit(0) : exit(1); }