diff options
author | okan | 2017-12-07 16:25:33 +0000 |
---|---|---|
committer | okan | 2017-12-07 16:25:33 +0000 |
commit | 2cc69c661a1ffb9a7de17e1a58657701edda41a6 (patch) | |
tree | 1c9ba804879910dc00c47fe859fef891478b8c5a /calmwm.h | |
parent | c41a4e4f8740a3150cb0ed54c5972e075f503b74 (diff) | |
download | cwm-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 *); |