aboutsummaryrefslogtreecommitdiffstats
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c8
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)