Lines Matching refs:clipboard
401 XSetSelectionOwner (xpbproxy_dpy, atoms->clipboard,
465 fprintf (stderr, "A clipboard manager using window 0x%lx "
466 "already owns the clipboard selection. "
467 "pbproxy will not sync clipboard to pasteboard.\n", owner);
496 if(e->selection == atoms->clipboard) {
503 /* Claim the clipboard contents from the new owner. */
511 fprintf(stderr, "Another clipboard manager was started! "
512 "xpbproxy is disabling syncing with clipboard.\n");
519 * We greedily acquire the clipboard after it changes, and on startup.
530 owner = XGetSelectionOwner (xpbproxy_dpy, atoms->clipboard);
536 DB ("No clipboard owner.\n");
537 [self copy_completed:atoms->clipboard];
540 [self copy_completed:atoms->clipboard];
547 XConvertSelection (xpbproxy_dpy, atoms->clipboard, atoms->targets,
548 atoms->clipboard, _selection_window, CurrentTime);
553 /* Greedily acquire the clipboard. */
562 XSetSelectionOwner (xpbproxy_dpy, atoms->clipboard, _selection_window,
565 atoms->clipboard));
956 /* Another client requested the data or targets of data available from the clipboard. */
1397 else if (selection == atoms->clipboard && pending_clipboard > 0)
1415 * We had 1 or more primary in progress, and the clipboard arrived
1493 atoms->clipboard = XInternAtom (xpbproxy_dpy, "CLIPBOARD", False);