X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=screen.c;h=255184a686c44aa68027813ff4f035c06676e24c;hb=73e2aba341624fbfb4791d464bf0d0a16c50578c;hp=8d04911644cbe44228fe340d8490b3dd1ac0210d;hpb=8be3f3ec9eec07ddf1622a04874e82730f108a26;p=dwm.git diff --git a/screen.c b/screen.c index 8d04911..255184a 100644 --- a/screen.c +++ b/screen.c @@ -284,7 +284,7 @@ togglebar(const char *arg) { void togglefloating(const char *arg) { - if(!sel || isfloating()) + if(!sel) return; sel->isfloating = !sel->isfloating; if(sel->isfloating)