diff options
author | c | 2023-11-25 22:03:59 -0500 |
---|---|---|
committer | c | 2023-11-25 22:03:59 -0500 |
commit | e216d5b8813ed4a1ac07ec8350c7021b7c44006f (patch) | |
tree | cea8fc0e4c6411fb7d7a5e4381ce11ac3104b562 /patches/dwm-fullgaps-6.4-resetgaps.diff | |
parent | 9f8855343c881bdc01b9fff5b956537ba1106b76 (diff) |
Initial commit by me.
Diffstat (limited to 'patches/dwm-fullgaps-6.4-resetgaps.diff')
-rw-r--r-- | patches/dwm-fullgaps-6.4-resetgaps.diff | 28 |
1 files changed, 28 insertions, 0 deletions
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) + { |