Skip to content

Commit

Permalink
移除 toggleborder 只对float窗口生效的限制
Browse files Browse the repository at this point in the history
  • Loading branch information
yaocccc committed Feb 9, 2023
1 parent 326ba11 commit 21a7c32
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2854,8 +2854,6 @@ toggleborder(const Arg *arg)
{
if (!selmon->sel)
return;
if (!selmon->sel->isfloating)
return;
selmon->sel->isnoborder ^= 1;
selmon->sel->bw = selmon->sel->isnoborder ? 0 : borderpx;
int diff = (selmon->sel->isnoborder ? -1 : 1) * borderpx;
Expand Down

0 comments on commit 21a7c32

Please sign in to comment.