From e216d5b8813ed4a1ac07ec8350c7021b7c44006f Mon Sep 17 00:00:00 2001 From: c Date: Sat, 25 Nov 2023 22:03:59 -0500 Subject: Initial commit by me. --- patches/dwm-fullgaps-6.4-resetgaps.diff | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 patches/dwm-fullgaps-6.4-resetgaps.diff (limited to 'patches/dwm-fullgaps-6.4-resetgaps.diff') diff --git a/patches/dwm-fullgaps-6.4-resetgaps.diff b/patches/dwm-fullgaps-6.4-resetgaps.diff new file mode 100644 index 0000000..93e7443 --- /dev/null +++ b/patches/dwm-fullgaps-6.4-resetgaps.diff @@ -0,0 +1,28 @@ +*** 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) + { -- cgit v1.2.3