*** dwm.c 2023-11-24 00:59:18.482039176 -0500 --- dwm2.c 2023-11-24 01:00:11.708584155 -0500 *************** static void setclientstate(Client *c, lo *** 218,223 **** --- 218,224 ---- static void setfocus(Client *c); static void setfullscreen(Client *c, int fullscreen); static void setgaps(const Arg *arg); + static void resetgaps(const Arg *arg); static void setlayout(const Arg *arg); static void setmfact(const Arg *arg); static void setup(void); *************** setgaps(const Arg *arg) *** 1541,1546 **** --- 1542,1554 ---- arrange(selmon); } + void + resetgaps(const Arg *arg) + { + selmon->gappx = gappx; + arrange(selmon); + } + void setlayout(const Arg *arg) {