From 46d5f9d1bfd8caaabaabfb7c7e5eac269aff4987 Mon Sep 17 00:00:00 2001 From: arg@mig29 Date: Mon, 27 Nov 2006 10:57:37 +0100 Subject: added togglefloat to hg tip (i consider this useful for some cases), using MODKEY-Shift-space as shortcut --- view.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'view.c') diff --git a/view.c b/view.c index e7d7a99..21e7bbd 100644 --- a/view.c +++ b/view.c @@ -200,6 +200,14 @@ restack(void) { while(XCheckMaskEvent(dpy, EnterWindowMask, &ev)); } +void +togglefloat(Arg *arg) { + if (!sel) + return; + sel->isfloat = !sel->isfloat; + arrange(); +} + void togglemode(Arg *arg) { arrange = (arrange == dofloat) ? dotile : dofloat; -- cgit v1.2.3