snarf
This commit is contained in:
parent
bdc14ad478
commit
94bd4b6c2c
1 changed files with 9 additions and 4 deletions
|
|
@ -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?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue