diff options
author | okan | 2018-02-09 19:54:54 +0000 |
---|---|---|
committer | okan | 2018-02-09 19:54:54 +0000 |
commit | 899b48c0be951c63c0f16ddcbdde797fc0aa0e5a (patch) | |
tree | 77af0f050342f174e7ec4d8487380e5ba241f5f9 /calmwm.h | |
parent | 54038380504e5bb95e059dfba5aa74e9f591123b (diff) | |
download | cwm-899b48c0be951c63c0f16ddcbdde797fc0aa0e5a.tar.gz |
Clean up conf_file/homedir and conf_init() bits.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 */ |