summaryrefslogtreecommitdiff
path: root/miext
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-06-21 13:51:57 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2004-06-21 13:51:57 +0000
commitc66cc2a219e860ae3c0b5d4ad18b22a6dc4e16df (patch)
tree51780fa152a1293c7eae3ccaf8630ec9741a0ae8 /miext
parented7f92e791f052d64cffef4b44eae5160fb24689 (diff)
Bug 783: rootless patches for cygwin
Diffstat (limited to 'miext')
-rw-r--r--miext/rootless/rootlessConfig.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/miext/rootless/rootlessConfig.h b/miext/rootless/rootlessConfig.h
index 93e987fe7..1ee872ad8 100644
--- a/miext/rootless/rootlessConfig.h
+++ b/miext/rootless/rootlessConfig.h
@@ -47,4 +47,18 @@
#endif /* __DARWIN__ */
+#ifdef __CYGWIN__
+
+# define ROOTLESS_ACCEL YES
+# define ROOTLESS_GLOBAL_COORDS TRUE
+# define ROOTLESS_PROTECT_ALPHA NO
+# define ROOTLESS_REDISPLAY_DELAY 10
+# undef ROOTLESS_RESIZE_GRAVITY
+# undef ROOTLESS_TRACK_DAMAGE
+/*# define ROOTLESSDEBUG*/
+
+# define RootlessAlphaMask(bpp) ((bpp) == 32 ? 0xFF000000 : 0)
+
+#endif /* __CYGWIN__ */
+
#endif /* _ROOTLESSCONFIG_H */