mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 02:00:11 +01:00
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
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