about summary refs log tree commit diff
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan <okan>2017-12-07 16:25:33 +0000
committerokan <okan>2017-12-07 16:25:33 +0000
commita0774f4777a4a94ea4bbc867c16cde3167075f80 (patch)
tree95c8ef80196043b3e7241d63b70d6a7f6e2fbe8c /calmwm.h
parentdd5f9512058799be696477ab01e2e877ff4e7430 (diff)
parent0fc9d47fb407a65fd08e3095fface42eb93ac914 (diff)
downloadcwm-a0774f4777a4a94ea4bbc867c16cde3167075f80.tar.gz
cwm-a0774f4777a4a94ea4bbc867c16cde3167075f80.tar.xz
cwm-a0774f4777a4a94ea4bbc867c16cde3167075f80.zip
cvsimport
* refs/heads/master:
  Original idea from Dimitris Papastamos to move windows to corners a while ago; re-proposed by Julien Steinhauser with an updated diff. Apparently this was in the original calmnwm.
  give command and group menus their own match callbacks
  stash dir into conf since it'll be of use
  organize this a bit better
  spacing
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 9ac69a4..26d8189 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -314,6 +314,7 @@ struct conf {
 	Cursor			 cursor[CF_NITEMS];
 	int			 xrandr;
 	int			 xrandr_event_base;
+	char			*homedir;
 	char			*wm_argv;
 };
 
@@ -395,7 +396,6 @@ extern Atom				 cwmh[CWMH_NITEMS];
 extern Atom				 ewmh[EWMH_NITEMS];
 extern struct screen_q			 Screenq;
 extern struct conf			 Conf;
-extern const char			*homedir;
 
 void			 usage(void);
 
@@ -465,6 +465,10 @@ void			 search_match_path(struct menu_q *, struct menu_q *,
 			     char *);
 void			 search_match_text(struct menu_q *, struct menu_q *,
 			     char *);
+void			 search_match_cmd(struct menu_q *, struct menu_q *,
+			     char *);
+void			 search_match_group(struct menu_q *, struct menu_q *,
+			     char *);
 void			 search_print_client(struct menu *, int);
 void			 search_print_cmd(struct menu *, int);
 void			 search_print_group(struct menu *, int);
@@ -482,6 +486,7 @@ void			 screen_assert_clients_within(struct screen_ctx *);
 
 void			 kbfunc_cwm_status(void *, struct cargs *);
 void			 kbfunc_ptrmove(void *, struct cargs *);
+void			 kbfunc_client_snap(void *, struct cargs *);
 void			 kbfunc_client_move(void *, struct cargs *);
 void			 kbfunc_client_resize(void *, struct cargs *);
 void			 kbfunc_client_delete(void *, struct cargs *);