Fixed minor logic bug

pull/24/head
E. Almqvist 3 years ago
parent cbaa6ac6a1
commit 3c11f9a54d
  1. 2
      src/dwm.c

@ -1841,7 +1841,7 @@ setgaps(const Arg *arg)
void
togglegaps(const Arg *arg)
{
if ((selmon->gappx == 0) || (selmon->gappx == gappx2))
if (selmon->gappx == gappx2)
selmon->gappx = gappx;
else
selmon->gappx = gappx2;

Loading…
Cancel
Save