X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/321e8d51edb8fe433e8e2ce8d5463c6999cc0576..19390b1a91da680a502ce5acebd086cfbe32627c:/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;