summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-29 11:39:28 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-29 11:46:25 -0700
commit94ac89d540b09841479a30158158a08ecb032a95 (patch)
tree6d3d5804fdb39f58b4d70a9d4b735459ad7027e6
parent6f0f20dc0cefe96209f57099a92f7c6ace7cc5fd (diff)
Remove unused macros
Reported by clang: xcompmgr.c:159:9: warning: macro is not used [-Wunused-macros] #define TRANS_OPACITY 0.75 ^ xcompmgr.c:166:9: warning: macro is not used [-Wunused-macros] #define SHADOWS 1 ^ xcompmgr.c:167:9: warning: macro is not used [-Wunused-macros] #define SHARP_SHADOW 0 ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--xcompmgr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xcompmgr.c b/xcompmgr.c
index 4443779..94ef532 100644
--- a/xcompmgr.c
+++ b/xcompmgr.c
@@ -156,16 +156,11 @@ static conv *gaussianMap;
#define WINDOW_TRANS 1
#define WINDOW_ARGB 2
-#define TRANS_OPACITY 0.75
-
#define DEBUG_REPAINT 0
#define DEBUG_EVENTS 0
#define DEBUG_SHAPE 0
#define MONITOR_REPAINT 0
-#define SHADOWS 1
-#define SHARP_SHADOW 0
-
typedef enum _compMode {
CompSimple, /* looks like a regular X server */
CompServerShadows, /* use window alpha for shadow; sharp, but precise */