From: Christophe CURIS <[email protected]>

Signed-off-by: Christophe CURIS <[email protected]>
---
 WINGs/wcolorpanel.c | 11 -----------
 src/screen.c        |  3 ---
 2 files changed, 14 deletions(-)

diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c
index d6bd79c..3b2faaf 100644
--- a/WINGs/wcolorpanel.c
+++ b/WINGs/wcolorpanel.c
@@ -42,12 +42,6 @@
 
 /* BUG There's something fishy with shaped windows */
 /* Whithout shape extension the magnified image is completely broken -Dan */
-#if 0
-# ifdef SHAPE
-#  define SHAPE_WAS_DEFINED
-#  undef SHAPE
-# endif
-#endif
 
 #ifdef SHAPE
 # include <X11/extensions/shape.h>
@@ -3463,8 +3457,3 @@ static unsigned char getShift(unsigned char value)
 
        return i;
 }
-
-#ifdef SHAPE_WAS_DEFINED
-#undef SHAPE_WAS_DEFINED
-#define SHAPE
-#endif
diff --git a/src/screen.c b/src/screen.c
index d40d333..52c164a 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -28,9 +28,6 @@
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
-#ifdef SHAPE
-#include <X11/extensions/shape.h>
-#endif
 #ifdef KEEP_XKB_LOCK_STATUS
 #include <X11/XKBlib.h>
 #endif                         /* KEEP_XKB_LOCK_STATUS */
-- 
1.8.4.rc3


-- 
To unsubscribe, send mail to [email protected].

Reply via email to