diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2017-12-07 16:25:34 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2017-12-07 16:25:34 +0000 |
commit | 3452d71b1eabf28aed63fe73aad3c3f59982fffc (patch) | |
tree | d25435a97dd74f0307294bdc6e3315da76a86e01 /app/cwm/calmwm.h | |
parent | c80e4a6aa496a9f61c28c5e27eb84d754c0a07ba (diff) |
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 'app/cwm/calmwm.h')
-rw-r--r-- | app/cwm/calmwm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h index 21fa3ae33..5ee66f249 100644 --- a/app/cwm/calmwm.h +++ b/app/cwm/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 *); |