Home
last modified time | relevance | path

Searched refs:XA_PRIMARY (Results 1 – 5 of 5) sorted by relevance

/external/libvncserver/client_examples/
Dscrap.c254 retval = (XGetSelectionOwner(SDL_Display, XA_PRIMARY) != SDL_Window); in lost_scrap()
286 XSetSelectionOwner(SDL_Display, XA_PRIMARY, in put_scrap()
356 owner = XGetSelectionOwner(SDL_Display, XA_PRIMARY); in get_scrap()
372 XConvertSelection(SDL_Display, XA_PRIMARY, format, in get_scrap()
/external/libvncserver/x11vnc/
Dselection.c393 if (ev->xselection.selection == XA_PRIMARY) { in selection_send()
464 ev->xselection.selection == XA_PRIMARY ? "PRIMARY " : "CLIPBOARD", in selection_send()
499 if (ev->xselection.selection == XA_PRIMARY) { in selection_send()
Dxevents.c1247 if (XGetSelectionOwner(dpy, XA_PRIMARY) == None) { in check_xevents()
1260 XGetSelectionOwner(dpy, XA_PRIMARY); in check_xevents()
1463 if (s == XA_PRIMARY || s == clipboard_atom) { in check_xevents()
1512 atom = XA_PRIMARY; in check_xevents()
1536 xev.xselectionrequest.selection == XA_PRIMARY) { in check_xevents()
1548 xev.xselectionclear.selection == XA_PRIMARY) { in check_xevents()
1793 XSetSelectionOwner(dpy, XA_PRIMARY, selwin, CurrentTime); in xcut_receive()
Dnox11.h6559 #define XA_PRIMARY ((Atom) 1) macro
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
Dtight-vncviewer-full.patch15119 - XtGetSelectionValue(toplevel, XA_PRIMARY,
15122 + XtGetSelectionValue(toplevel, XA_PRIMARY,
15163 + Atom sendsel = XA_PRIMARY;
15177 - XtGetSelectionValue(w, XA_PRIMARY, XA_STRING, GetSelectionCallback, NULL,
15180 - XtGetSelectionValue(w, XA_PRIMARY, XInternAtom(dpy, "TIMESTAMP", False),
15196 + if (dbg_sel) fprintf(stderr, "SelectionToVNC %s\n", sendsel == XA_PRIMARY ? "PRIMARY" : "CLIPBOAR…
15237 - XtGetSelectionValue(w, XA_PRIMARY, XA_STRING, GetSelectionCallback, NULL,
15253 + XtGetSelectionValue(w, XA_PRIMARY, XA_STRING, GetSelectionCallback, NULL, CurrentTime);
15341 - if (XtOwnSelection(desktop, XA_PRIMARY, t, ConvertSelection, LoseSelection,
15397 + } else if (XtOwnSelection(desktop, XA_PRIMARY, t, ConvertSelection, LoseSelection, NULL)) {
[all …]