aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2018-02-09 19:54:54 +0000
committerokan2018-02-09 19:54:54 +0000
commit899b48c0be951c63c0f16ddcbdde797fc0aa0e5a (patch)
tree77af0f050342f174e7ec4d8487380e5ba241f5f9 /calmwm.h
parent54038380504e5bb95e059dfba5aa74e9f591123b (diff)
downloadcwm-899b48c0be951c63c0f16ddcbdde797fc0aa0e5a.tar.gz
Clean up conf_file/homedir and conf_init() bits.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h8
1 files changed, 3 insertions, 5 deletions
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 */