dwm-flexipatch/patch/sticky.c

10 lines
135 B
C

void
togglesticky(const Arg *arg)
{
if (!selmon->sel)
return;
selmon->sel->issticky = !selmon->sel->issticky;
arrange(selmon);
}