# | Line 19 | Line 19 | |
---|---|---|
19 | */ | |
20 | ||
21 | #include "sysdeps.h" | |
22 | + | |
23 | + | #include <X11/Xlib.h> |
24 | + | |
25 | #include "clip.h" | |
26 | #include "macos_util.h" | |
27 | #include "prefs.h" | |
# | Line 27 | Line 30 | |
30 | #include "debug.h" | |
31 | ||
32 | ||
33 | < | // From video_x.cpp |
31 | < | #ifndef USE_SDL_VIDEO |
32 | < | #include <X11/Xlib.h> |
33 | > | // From main_unix.cpp |
34 | extern Display *x_display; | |
34 | – | #endif |
35 | ||
36 | ||
37 | // Conversion tables | |
# | Line 87 | Line 87 | void PutScrap(uint32 type, void *scrap, | |
87 | if (length <= 0) | |
88 | return; | |
89 | ||
90 | – | #ifndef USE_SDL_VIDEO |
90 | switch (type) { | |
91 | case FOURCC('T','E','X','T'): | |
92 | D(bug(" clipping TEXT\n")); | |
# | Line 111 | Line 110 | void PutScrap(uint32 type, void *scrap, | |
110 | delete[] buf; | |
111 | break; | |
112 | } | |
114 | – | #endif |
113 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |