This commit is contained in:
rsc 2006-03-23 23:46:00 +00:00
parent bdc14ad478
commit 94bd4b6c2c

View file

@ -200,13 +200,18 @@ xgetsnarf(void)
xd = xdisplay; xd = xdisplay;
w = None;
clipboard = None;
/* /*
* Is there a primary selection (highlighted text in an xterm)? * Is there a primary selection (highlighted text in an xterm)?
*/ */
if(0){
clipboard = XA_PRIMARY; clipboard = XA_PRIMARY;
w = XGetSelectionOwner(xd, XA_PRIMARY); w = XGetSelectionOwner(xd, XA_PRIMARY);
if(w == drawable) if(w == drawable)
return snarf; return snarf;
}
/* /*
* If not, is there a clipboard selection? * If not, is there a clipboard selection?