mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 23:28:05 +02:00
XQuartz: pbcopy: Re-enabled some code I commented out for testing
This commit is contained in:
parent
f7673bb4de
commit
9b5d114092
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Reference in a new issue