X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fx11.h;h=6e46e78d0b1ac7f0c5b9c162c776226e89fe6515;hb=959794cfda1f83edc51512211ae5a9f6b1e0b179;hp=dc22d353d50af81e00266b27375034dd7399b0a0;hpb=786d4ea93b159a7f4cc09c4f05ec75939d8928d4;p=rocksndiamonds.git diff --git a/src/libgame/x11.h b/src/libgame/x11.h index dc22d353..6e46e78d 100644 --- a/src/libgame/x11.h +++ b/src/libgame/x11.h @@ -14,7 +14,6 @@ #ifndef X11_H #define X11_H -#if !defined(PLATFORM_MSDOS) #define XK_MISCELLANY #define XK_LATIN1 @@ -24,24 +23,18 @@ #include #include #include -#endif /* system dependent definitions */ -/* MS-DOS header file also defines "TARGET_STRING" */ -#ifndef TARGET_STRING #define TARGET_STRING "X11" -#endif -#if defined(PLATFORM_UNIX) /* This triggers some stuff that is needed because X11 (XSetClipOrigin(), to be precise) is often very slow when preparing a masked XCopyArea() for big Pixmaps. To prevent this, small (tile-sized) mask Pixmaps are created which will then be set much faster with XSetClipOrigin() and speed things up a lot. */ #define TARGET_X11_NATIVE_PERFORMANCE_WORKAROUND -#endif #define WINDOW_SCALING_STATUS WINDOW_SCALING_NOT_AVAILABLE #define FULLSCREEN_STATUS FULLSCREEN_NOT_AVAILABLE