tdon't print TIMESTAMP messages - plan9port - [fork] Plan 9 from user space
git clone git://src.adamsgaard.dk/plan9port
Log
Files
Refs
README
LICENSE
---
commit 49fda441d2d22ec646d02a5159e7f52ab457b314
parent 7e42d210121c9c2898caddcfc09d7e8d836c252e
Author: rsc 
Date:   Thu, 22 Apr 2004 15:19:59 +0000

don't print TIMESTAMP messages

Diffstat:
  M src/libdraw/x11-itrans.c            |       3 ++-

1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libdraw/x11-itrans.c b/src/libdraw/x11-itrans.c
t@@ -477,7 +477,8 @@ if(0) fprint(2, "xselect target=%d requestor=%d property=%d selection=%d\n",
                 qunlock(&clip.lk);
         }else{
                 name = XGetAtomName(xd, xe->target);
-                fprint(2, "%s: cannot handle selection request for '%s' (%d)\n", argv0, name, (int)xe->target);
+                if(strcmp(name, "TIMESTAMP") != 0)
+                        fprint(2, "%s: cannot handle selection request for '%s' (%d)\n", argv0, name, (int)xe->target);
                 r.xselection.property = None;
         }