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
commit0fc9d47fb407a65fd08e3095fface42eb93ac914 (patch)
tree4f53758a765d7b0649c8cb24d839001160ca4e0b /calmwm.h
parentf0524fe07a3a671f706d7183bb0cfbc6c8f09780 (diff)
downloadcwm-0fc9d47fb407a65fd08e3095fface42eb93ac914.tar.gz
cwm-0fc9d47fb407a65fd08e3095fface42eb93ac914.tar.xz
cwm-0fc9d47fb407a65fd08e3095fface42eb93ac914.zip
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.

However, expand the original idea and let clients 'snap' to edges instead,
neatly allowing key bindings that snap to adjacent edges (i.e. corners) as
well. No default bindings assigned.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/calmwm.h b/calmwm.h
index 85084b0..9c1ce73 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -465,6 +465,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 *);