Skip to content
Snippets Groups Projects
Commit 84e8410b authored by deuce's avatar deuce
Browse files

Remove copy/paste from OS X builds now that the scrap manager is gone.

Using the Pasteboard API would require Objective C and since my Mac is too
old to run a newer OS X, I can't really work on this.
parent 449e5a6d
Branches
Tags
No related merge requests found
......@@ -1625,7 +1625,7 @@ int sdl_video_event_thread(void *data)
sdl.SemPost(sdl_ufunc_ret);
break;
case SDL_USEREVENT_COPY:
#if (defined(__MACH__) && defined(__APPLE__))
#if (defined(__MACH__) && defined(__APPLE__)) && defined(USE_SCRAP_MANAGER)
if(!sdl_using_x11) {
ScrapRef scrap;
sdl.mutexP(sdl_copybuf_mutex);
......@@ -1654,7 +1654,7 @@ int sdl_video_event_thread(void *data)
#endif
break;
case SDL_USEREVENT_PASTE:
#if (defined(__MACH__) && defined(__APPLE__))
#if (defined(__MACH__) && defined(__APPLE__)) && defined(USE_SCRAP_MANAGER)
if(!sdl_using_x11) {
ScrapRef scrap;
UInt32 fl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment