wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 9e6e5f389e4f783d9cf5a3feacc6098d35b63d0a
parent d1cbae8a98687e823c90d165e8d608fdbbe0e73d
Author: Anselm R. Garbe <garbeam@wmii.de>
Date:   Thu, 23 Mar 2006 11:20:53 +0100

cleaned wmiipsel semantically


Diffstat:
cmd/wmiipsel.c | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/cmd/wmiipsel.c b/cmd/wmiipsel.c @@ -61,10 +61,10 @@ main(int argc, char **argv) fprintf(stderr, "%s", "wmiipsel: cannot open display\n"); exit(1); } - xa_clip_string = XInternAtom(dpy, "PLUMB_STRING", False); + xa_clip_string = XInternAtom(dpy, "WMII_PSEL_STRING", False); w = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy), 10, 10, 200, 200, 1, CopyFromParent, CopyFromParent); - while(1 && !pdone) { + while(!pdone) { XConvertSelection(dpy, XA_PRIMARY, XA_STRING, xa_clip_string, w, CurrentTime); XFlush(dpy); @@ -84,7 +84,4 @@ main(int argc, char **argv) } } return 0; - /* - * XDestroyWindow(dpy, w); XCloseDisplay(dpy); return 1; - */ }