aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2017-12-07 16:25:33 +0000
committerokan2017-12-07 16:25:33 +0000
commit2cc69c661a1ffb9a7de17e1a58657701edda41a6 (patch)
tree1c9ba804879910dc00c47fe859fef891478b8c5a /calmwm.h
parentc41a4e4f8740a3150cb0ed54c5972e075f503b74 (diff)
downloadcwm-2cc69c661a1ffb9a7de17e1a58657701edda41a6.tar.gz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 21fa3ae..5ee66f2 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.343 2017/12/07 16:03:10 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.344 2017/12/07 16:25:33 okan Exp $
*/
#ifndef _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 *);