ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/clip_unix.cpp
(Generate patch)

Comparing SheepShaver/src/Unix/clip_unix.cpp (file contents):
Revision 1.5 by gbeauche, 2004-01-01T11:28:22Z vs.
Revision 1.6 by gbeauche, 2004-01-01T11:29:38Z

# Line 74 | Line 74 | using std::vector;
74   #endif
75  
76  
77 // Do we replace PutScrap()?
78 #define REPLACE_PUTSCRAP 1
79
80 // Do we replace GetScrap()?
81 #define REPLACE_GETSCRAP 1
82
77   // Do we want GetScrap() to check for TIMESTAMP and optimize out clipboard syncs?
78   #define GETSCRAP_REQUESTS_TIMESTAMP 0
79  
# Line 313 | Line 307 | void ClipExit(void)
307   void PutScrap(uint32 type, void *scrap, int32 length)
308   {
309          D(bug("PutScrap type %08lx, data %p, length %ld\n", type, scrap, length));
316        if (!REPLACE_PUTSCRAP)
317                return;
310          if (we_put_this_data) {
311                  we_put_this_data = false;
312                  return;
# Line 389 | Line 381 | static void do_putscrap(uint32 type, voi
381   void GetScrap(void **handle, uint32 type, int32 offset)
382   {
383          D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset));
392        if (!REPLACE_GETSCRAP)
393                return;
384  
385          XDisplayLock();
386          do_getscrap(handle, type, offset);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines