From fa5ced5316895b2574f2b8a2af9994f7f7ff8838 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Thu, 16 Oct 2025 17:31:32 +0100 Subject: remove redundant drw_scm_create, && move Col{Float,Master} to the enum with Col{Fg,Bg,Border} --- dwm.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'dwm.c') diff --git a/dwm.c b/dwm.c index fc390c2..a54fa92 100644 --- a/dwm.c +++ b/dwm.c @@ -60,8 +60,6 @@ #define WIDTH(X) ((X)->w + 2 * (X)->bw) #define HEIGHT(X) ((X)->h + 2 * (X)->bw) #define TAGMASK ((1 << LENGTH(tags)) - 1) -#define ColFloat 3 -#define ColMaster 4 /* enums */ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */ @@ -1669,7 +1667,6 @@ setup(void) /* init appearance */ scheme = ecalloc(LENGTH(colors), sizeof(Clr *)); for (i = 0; i < LENGTH(colors); i++) { - scheme[i] = drw_scm_create(drw, colors[i], 4); scheme[i] = drw_scm_create(drw, colors[i], 5); } -- cgit v1.2.3