From 53e0c464523804958e4287c403f477d18efeba0d Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Thu, 1 Jan 2004 11:29:38 +0000 Subject: [PATCH] PutScrap and GetScrap replacements are always enabled. --- SheepShaver/src/Unix/clip_unix.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/SheepShaver/src/Unix/clip_unix.cpp b/SheepShaver/src/Unix/clip_unix.cpp index 83236441..8039b82b 100644 --- a/SheepShaver/src/Unix/clip_unix.cpp +++ b/SheepShaver/src/Unix/clip_unix.cpp @@ -74,12 +74,6 @@ using std::vector; #endif -// Do we replace PutScrap()? -#define REPLACE_PUTSCRAP 1 - -// Do we replace GetScrap()? -#define REPLACE_GETSCRAP 1 - // Do we want GetScrap() to check for TIMESTAMP and optimize out clipboard syncs? #define GETSCRAP_REQUESTS_TIMESTAMP 0 @@ -313,8 +307,6 @@ void ClipExit(void) void PutScrap(uint32 type, void *scrap, int32 length) { D(bug("PutScrap type %08lx, data %p, length %ld\n", type, scrap, length)); - if (!REPLACE_PUTSCRAP) - return; if (we_put_this_data) { we_put_this_data = false; return; @@ -389,8 +381,6 @@ static void do_putscrap(uint32 type, void *scrap, int32 length) void GetScrap(void **handle, uint32 type, int32 offset) { D(bug("GetScrap handle %p, type %08x, offset %d\n", handle, type, offset)); - if (!REPLACE_GETSCRAP) - return; XDisplayLock(); do_getscrap(handle, type, offset);