Lines Matching refs:clipboard
387 XSetSelectionOwner(xpbproxy_dpy, atoms->clipboard,
451 "A clipboard manager using window 0x%lx already owns the clipboard selection. "
452 "pbproxy will not sync clipboard to pasteboard.\n", owner);
486 if (e->selection == atoms->clipboard) {
493 /* Claim the clipboard contents from the new owner. */
502 ErrorF("Another clipboard manager was started! "
503 "xpbproxy is disabling syncing with clipboard.\n");
510 * We greedily acquire the clipboard after it changes, and on startup.
521 owner = XGetSelectionOwner(xpbproxy_dpy, atoms->clipboard);
527 DebugF("No clipboard owner.\n");
528 [self copy_completed:atoms->clipboard];
532 [self copy_completed:atoms->clipboard];
539 XConvertSelection(xpbproxy_dpy, atoms->clipboard, atoms->targets,
540 atoms->clipboard, _selection_window, CurrentTime);
545 /* Greedily acquire the clipboard. */
553 XSetSelectionOwner(xpbproxy_dpy, atoms->clipboard, _selection_window,
556 atoms->clipboard));
950 /* Another client requested the data or targets of data available from the clipboard. */
1372 else if (selection == atoms->clipboard && pending_clipboard > 0) {
1387 * We had 1 or more primary in progress, and the clipboard arrived
1482 atoms->clipboard = XInternAtom(xpbproxy_dpy, "CLIPBOARD", False);