commit 1e27ea8a0c33f41be3e6ff4de1b2611bfe4120b2
parent 09cd8c9a1bfc9cce984a9f34829f6e774242893c
Author: Luka Rapava <luka.rapava2004@gmail.com>
Date: Sun, 30 Apr 2023 15:16:18 +0400
fixed the 6.4 port of dwm fullgaps patch
Diffstat:
1 file changed, 4 insertions(+), 29 deletions(-)
diff --git a/dwm.suckless.org/patches/fullgaps/dwm-fullgaps-6.4.diff b/dwm.suckless.org/patches/fullgaps/dwm-fullgaps-6.4.diff
@@ -1,6 +1,6 @@
diff -up a/config.def.h b/config.def.h
---- a/config.def.h 2023-04-30 12:59:59.698403950 +0400
-+++ b/config.def.h 2023-04-30 13:05:21.213717136 +0400
+--- a/config.def.h
++++ b/config.def.h
@@ -2,6 +2,7 @@
/* appearance */
@@ -19,32 +19,9 @@ diff -up a/config.def.h b/config.def.h
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
-diff -up a/config.h b/config.h
---- a/config.h 2023-04-30 13:00:14.627418493 +0400
-+++ b/config.h 2023-04-30 13:05:48.671743882 +0400
-@@ -2,6 +2,7 @@
-
- /* appearance */
- static const unsigned int borderpx = 1; /* border pixel of windows */
-+static const unsigned int gappx = 5; /* gaps between windows */
- static const unsigned int snap = 32; /* snap pixel */
- static const int showbar = 1; /* 0 means no bar */
- static const int topbar = 1; /* 0 means bottom bar */
-@@ -85,6 +86,9 @@ static const Key keys[] = {
- { MODKEY, XK_period, focusmon, {.i = +1 } },
- { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
- { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
-+ { MODKEY, XK_minus, setgaps, {.i = -1 } },
-+ { MODKEY, XK_equal, setgaps, {.i = +1 } },
-+ { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
- TAGKEYS( XK_1, 0)
- TAGKEYS( XK_2, 1)
- TAGKEYS( XK_3, 2)
-Only in b: drw.o
-Binary files a/dwm and b/dwm differ
diff -up a/dwm.c b/dwm.c
---- a/dwm.c 2023-04-30 12:59:59.699403951 +0400
-+++ b/dwm.c 2023-04-30 13:03:30.534609328 +0400
+--- a/dwm.c 2023-04-30
++++ b/dwm.c 2023-04-30
@@ -119,6 +119,7 @@ struct Monitor {
int by; /* bar geometry */
int mx, my, mw, mh; /* screen size */
@@ -115,5 +92,3 @@ diff -up a/dwm.c b/dwm.c
+ ty += HEIGHT(c) + m->gappx;
}
}
-
-Common subdirectories: a/.git and b/.git