From 899b48c0be951c63c0f16ddcbdde797fc0aa0e5a Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 9 Feb 2018 19:54:54 +0000 Subject: Clean up conf_file/homedir and conf_init() bits. --- calmwm.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'calmwm.h') diff --git a/calmwm.h b/calmwm.h index a493347..fb1fa33 100644 --- a/calmwm.h +++ b/calmwm.h @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: calmwm.h,v 1.356 2018/02/04 22:56:26 okan Exp $ + * $OpenBSD: calmwm.h,v 1.357 2018/02/09 19:54:54 okan Exp $ */ #ifndef _CALMWM_H_ @@ -45,8 +45,6 @@ #define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) #endif -#define CONFFILE ".cwmrc" - #define BUTTONMASK (ButtonPressMask | ButtonReleaseMask) #define MOUSEMASK (BUTTONMASK | PointerMotionMask) #define MENUMASK (MOUSEMASK | ButtonMotionMask | KeyPressMask | \ @@ -308,10 +306,10 @@ struct conf { Cursor cursor[CF_NITEMS]; int xrandr; int xrandr_event_base; - char *homedir; + char *conf_file; char *known_hosts; char *wm_argv; - u_int32_t debug; + int debug; }; /* MWM hints */ -- cgit v1.2.3-2-gb3c3