mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 06:38:05 +01:00
Remove some unnecessary code related to XShape usage
Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
bf64058020
commit
330fc85e56
@@ -42,12 +42,6 @@
|
|||||||
|
|
||||||
/* BUG There's something fishy with shaped windows */
|
/* BUG There's something fishy with shaped windows */
|
||||||
/* Whithout shape extension the magnified image is completely broken -Dan */
|
/* Whithout shape extension the magnified image is completely broken -Dan */
|
||||||
#if 0
|
|
||||||
# ifdef SHAPE
|
|
||||||
# define SHAPE_WAS_DEFINED
|
|
||||||
# undef SHAPE
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SHAPE
|
#ifdef SHAPE
|
||||||
# include <X11/extensions/shape.h>
|
# include <X11/extensions/shape.h>
|
||||||
@@ -3463,8 +3457,3 @@ static unsigned char getShift(unsigned char value)
|
|||||||
|
|
||||||
return i;
|
return i;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef SHAPE_WAS_DEFINED
|
|
||||||
#undef SHAPE_WAS_DEFINED
|
|
||||||
#define SHAPE
|
|
||||||
#endif
|
|
||||||
|
|||||||
@@ -28,9 +28,6 @@
|
|||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
#ifdef SHAPE
|
|
||||||
#include <X11/extensions/shape.h>
|
|
||||||
#endif
|
|
||||||
#ifdef KEEP_XKB_LOCK_STATUS
|
#ifdef KEEP_XKB_LOCK_STATUS
|
||||||
#include <X11/XKBlib.h>
|
#include <X11/XKBlib.h>
|
||||||
#endif /* KEEP_XKB_LOCK_STATUS */
|
#endif /* KEEP_XKB_LOCK_STATUS */
|
||||||
|
|||||||
Reference in New Issue
Block a user