/[rdesktop]/jpeg/rdesktop/trunk/xclip.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/xclip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 455 by jsorg71, Wed Aug 27 22:51:33 2003 UTC revision 456 by astrand, Sun Aug 31 20:01:12 2003 UTC
# Line 197  xclip_handle_PropertyNotify(XPropertyEve Line 197  xclip_handle_PropertyNotify(XPropertyEve
197          {          {
198                  res = XGetWindowProperty(g_display, DefaultRootWindow(g_display),                  res = XGetWindowProperty(g_display, DefaultRootWindow(g_display),
199                                           rdesktop_clipboard_formats_atom, 0,                                           rdesktop_clipboard_formats_atom, 0,
200                                           XMaxRequestSize(g_display), False, XA_STRING, &type, &format,                                           XMaxRequestSize(g_display), False, XA_STRING, &type,
201                                           &nitems, &bytes_left, &data);                                           &format, &nitems, &bytes_left, &data);
202    
203                  if ((res == Success) && (nitems > 0))                  if ((res == Success) && (nitems > 0))
204                  {                  {
# Line 296  xclip_init(void) Line 296  xclip_init(void)
296          clipboard_atom = XInternAtom(g_display, "CLIPBOARD", False);          clipboard_atom = XInternAtom(g_display, "CLIPBOARD", False);
297          targets_atom = XInternAtom(g_display, "TARGETS", False);          targets_atom = XInternAtom(g_display, "TARGETS", False);
298          timestamp_atom = XInternAtom(g_display, "TIMESTAMP", False);          timestamp_atom = XInternAtom(g_display, "TIMESTAMP", False);
299          rdesktop_clipboard_target_atom = XInternAtom(g_display, "_RDESKTOP_CLIPBOARD_TARGET", False);          rdesktop_clipboard_target_atom =
300                    XInternAtom(g_display, "_RDESKTOP_CLIPBOARD_TARGET", False);
301          incr_atom = XInternAtom(g_display, "INCR", False);          incr_atom = XInternAtom(g_display, "INCR", False);
302          targets[0] = targets_atom;          targets[0] = targets_atom;
303          targets[1] = XInternAtom(g_display, "TEXT", False);          targets[1] = XInternAtom(g_display, "TEXT", False);

Legend:
Removed from v.455  
changed lines
  Added in v.456

  ViewVC Help
Powered by ViewVC 1.1.26