XQuartz: pbcopy: Re-enabled some code I commented out for testing
(cherry picked from commit 9b5d114092
)
This commit is contained in:
parent
b3a971d8b5
commit
ed3134918d
|
@ -421,10 +421,10 @@ get_property(Window win, Atom property, struct propdata *pdata, Bool delete, Ato
|
|||
if(owner == _selection_window)
|
||||
return TRUE;
|
||||
|
||||
// if(None != _selection_window) {
|
||||
// fprintf (stderr, "A clipboard manager is already running. pbproxy will not sync clipboard to pasteboard.\n");
|
||||
// return FALSE;
|
||||
// }
|
||||
if(None != _selection_window) {
|
||||
fprintf (stderr, "A clipboard manager is already running. pbproxy will not sync clipboard to pasteboard.\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
XSetSelectionOwner(x_dpy, atoms->clipboard_manager, _selection_window, CurrentTime);
|
||||
return (_selection_window == XGetSelectionOwner(x_dpy, atoms->clipboard_manager));
|
||||
|
|
Loading…
Reference in New Issue
Block a user