From 330fc85e568b62bc1d7d6b2eb82f69540ac333dd Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Fri, 15 Nov 2013 18:46:47 +0100 Subject: [PATCH] Remove some unnecessary code related to XShape usage Signed-off-by: Christophe CURIS --- WINGs/wcolorpanel.c | 11 ----------- src/screen.c | 3 --- 2 files changed, 14 deletions(-) diff --git a/WINGs/wcolorpanel.c b/WINGs/wcolorpanel.c index d6bd79cf..3b2faaf7 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 @@ -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 d40d333a..52c164ad 100644 --- a/src/screen.c +++ b/src/screen.c @@ -28,9 +28,6 @@ #include #include #include -#ifdef SHAPE -#include -#endif #ifdef KEEP_XKB_LOCK_STATUS #include #endif /* KEEP_XKB_LOCK_STATUS */