Lines Matching refs:clipboard
377 XSetSelectionOwner(xpbproxy_dpy, atoms->clipboard,
441 "A clipboard manager using window 0x%lx already owns the clipboard selection. "
442 "pbproxy will not sync clipboard to pasteboard.\n", owner);
476 if (e->selection == atoms->clipboard) {
483 /* Claim the clipboard contents from the new owner. */
492 ErrorF("Another clipboard manager was started! "
493 "xpbproxy is disabling syncing with clipboard.\n");
500 * We greedily acquire the clipboard after it changes, and on startup.
511 owner = XGetSelectionOwner(xpbproxy_dpy, atoms->clipboard);
517 DebugF("No clipboard owner.\n");
518 [self copy_completed:atoms->clipboard];
522 [self copy_completed:atoms->clipboard];
529 XConvertSelection(xpbproxy_dpy, atoms->clipboard, atoms->targets,
530 atoms->clipboard, _selection_window, CurrentTime);
535 /* Greedily acquire the clipboard. */
543 XSetSelectionOwner(xpbproxy_dpy, atoms->clipboard, _selection_window,
546 atoms->clipboard));
940 /* Another client requested the data or targets of data available from the clipboard. */
1362 else if (selection == atoms->clipboard && pending_clipboard > 0) {
1377 * We had 1 or more primary in progress, and the clipboard arrived
1455 atoms->clipboard = XInternAtom(xpbproxy_dpy, "CLIPBOARD", False);