summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authoroga <oga>2008-05-18 19:43:50 +0000
committeroga <oga>2008-05-18 19:43:50 +0000
commit27b023ebcbe1f4ec24c6044fee51c22c55d5993b (patch)
tree3f4af5ab604be9d376e99f1f781caf82834eb122 /calmwm.h
parent5c402536fa7dfe6805ab1cb9e1cd96feaaf69c41 (diff)
downloadcwm-27b023ebcbe1f4ec24c6044fee51c22c55d5993b.tar.gz
cwm-27b023ebcbe1f4ec24c6044fee51c22c55d5993b.tar.xz
cwm-27b023ebcbe1f4ec24c6044fee51c22c55d5993b.zip
Kill conf_get_int(), it was a silly function anyway.
Since it's only used once just put the (simplified) logic into
conf_client() instead. This  means we can kill an enum and
CONF_IGNORECASE, too.

ok okan@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/calmwm.h b/calmwm.h
index 4f67369..5c06257 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -32,10 +32,6 @@
 
 #define	CONFFILE	".cwmrc"
 
-enum conftype {
-	CONF_BWIDTH, CONF_IGNORE,
-};
-
 #define ChildMask	(SubstructureRedirectMask|SubstructureNotifyMask)
 #define ButtonMask	(ButtonPressMask|ButtonReleaseMask)
 #define MouseMask	(ButtonMask|PointerMotionMask)
@@ -215,12 +211,9 @@ TAILQ_HEAD(xevent_q, xevent);
  * Match a window.
  */
 #define CONF_MAX_WINTITLE	256
-#define CONF_IGNORECASE		0x01
 struct winmatch {
 	TAILQ_ENTRY(winmatch)	entry;
-
-	char	title[CONF_MAX_WINTITLE];
-	int	opts;
+	char			title[CONF_MAX_WINTITLE];
 };
 
 TAILQ_HEAD(winmatch_q, winmatch);
@@ -422,16 +415,11 @@ struct screen_ctx	*screen_current(void);
 void			 screen_updatestackingorder(void);
 
 void			 conf_setup(struct conf *, const char *);
-int			 conf_get_int(struct client_ctx *, enum conftype);
 void			 conf_client(struct client_ctx *);
-void			 conf_bindkey(struct conf *,
-			     void (*)(struct client_ctx *, void *),
-			     int, int, int, void *);
 void			 conf_bindname(struct conf *, char *, char *);
 void			 conf_unbind(struct conf *, struct keybinding *);
 int			 conf_changed(char *);
 void			 conf_reload(struct conf *);
-char			*conf_get_str(struct client_ctx *, enum conftype);
 
 void			 kbfunc_client_lower(struct client_ctx *, void *);
 void			 kbfunc_client_raise(struct client_ctx *, void *);