tavoid primary - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 38612281eb3dac58d50d9426ba36f2090c8aa248
DIR parent 96e0eb83dd041525e43858d9ec3d75c5507b0384
HTML Author: rsc <devnull@localhost>
Date: Sun, 2 Apr 2006 00:06:54 +0000
avoid primary
Diffstat:
M src/cmd/snarfer/snarfer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/cmd/snarfer/snarfer.c b/src/cmd/snarfer/snarfer.c
t@@ -273,7 +273,7 @@ xgetsnarf(void)
void
xputsnarf(void)
{
- XSetSelectionOwner(xdisplay, XA_PRIMARY, drawable, CurrentTime);
+ if(0) XSetSelectionOwner(xdisplay, XA_PRIMARY, drawable, CurrentTime);
if(xclipboard != None)
XSetSelectionOwner(xdisplay, xclipboard, drawable, CurrentTime);
XFlush(xdisplay);