diff options
author | arg@mig29 <unknown> | 2006-11-27 10:57:37 +0100 |
---|---|---|
committer | arg@mig29 <unknown> | 2006-11-27 10:57:37 +0100 |
commit | 46d5f9d1bfd8caaabaabfb7c7e5eac269aff4987 (patch) | |
tree | aef384fcafe76d5d5c527a77ed2d6864fea3fe81 /view.c | |
parent | 35e96b8deba8aae863cef32f2ea2a84ebf162472 (diff) | |
download | dwm-46d5f9d1bfd8caaabaabfb7c7e5eac269aff4987.tar.gz |
added togglefloat to hg tip (i consider this useful for some cases), using MODKEY-Shift-space as shortcut
Diffstat (limited to 'view.c')
-rw-r--r-- | view.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view.c b/view.c index e7d7a99..21e7bbd 100644 --- a/view.c +++ b/view.c @@ -201,6 +201,14 @@ restack(void) { } void +togglefloat(Arg *arg) { + if (!sel) + return; + sel->isfloat = !sel->isfloat; + arrange(); +} + +void togglemode(Arg *arg) { arrange = (arrange == dofloat) ? dotile : dofloat; if(sel) |