summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2022-07-28 11:29:50 +0200
committerbakkeby <[email protected]>2022-07-28 11:29:50 +0200
commitd9f79bea73894e1fe1b2a0342dafcfc818d4c0ee (patch)
tree9733e73781eebd3fb98311ee1e807b69bcdb6d88
parentdf5eba3f8fc32c3843fe6ba35b18743312ed27ed (diff)
downloaddwm-flexipatch-d9f79bea73894e1fe1b2a0342dafcfc818d4c0ee.tar.gz
dwm-flexipatch-d9f79bea73894e1fe1b2a0342dafcfc818d4c0ee.zip
Bump to 9bffa84: use named parameter for func prototype
Ref. https://git.suckless.org/dwm/commit/9bffa845faa181fb3afe05f3dc86ad79c80736be.html
-rw-r--r--README.md2
-rw-r--r--dwm.c2
-rw-r--r--patch/layout_columns.h2
-rw-r--r--patch/layout_tile.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 5a86f77..6b9c7dc 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-This dwm 6.3 (8b48e30, 2022-04-26) side project has a different take on dwm patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched _and_ the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more. Due to the complexity of some of the patches dwm-flexipatch has diverged from mainstream dwm by making some core patches non-optional for maintenance reasons. For the classic dwm-flexipatch build refer to branch [dwm-flexipatch-1.0](https://github.com/bakkeby/dwm-flexipatch/tree/dwm-flexipatch-1.0).
+This dwm 6.3 (9bffa84, 2022-07-14) side project has a different take on dwm patching. It uses preprocessor directives to decide whether or not to include a patch during build time. Essentially this means that this build, for better or worse, contains both the patched _and_ the original code. The aim being that you can select which patches to include and the build will contain that code and nothing more. Due to the complexity of some of the patches dwm-flexipatch has diverged from mainstream dwm by making some core patches non-optional for maintenance reasons. For the classic dwm-flexipatch build refer to branch [dwm-flexipatch-1.0](https://github.com/bakkeby/dwm-flexipatch/tree/dwm-flexipatch-1.0).
For example to include the `alpha` patch then you would only need to flip this setting from 0 to 1 in [patches.h](https://github.com/bakkeby/dwm-flexipatch/blob/master/patches.def.h):
```c
diff --git a/dwm.c b/dwm.c
index 2b3c3cd..67ced01 100644
--- a/dwm.c
+++ b/dwm.c
@@ -673,7 +673,7 @@ static void motionnotify(XEvent *e);
static void movemouse(const Arg *arg);
static Client *nexttiled(Client *c);
#if !ZOOMSWAP_PATCH || TAGINTOSTACK_ALLMASTER_PATCH || TAGINTOSTACK_ONEMASTER_PATCH
-static void pop(Client *);
+static void pop(Client *c);
#endif // !ZOOMSWAP_PATCH / TAGINTOSTACK_ALLMASTER_PATCH / TAGINTOSTACK_ONEMASTER_PATCH
static void propertynotify(XEvent *e);
static void quit(const Arg *arg);
diff --git a/patch/layout_columns.h b/patch/layout_columns.h
index a589371..017243e 100644
--- a/patch/layout_columns.h
+++ b/patch/layout_columns.h
@@ -1,2 +1,2 @@
-static void col(Monitor *);
+static void col(Monitor *m);
diff --git a/patch/layout_tile.h b/patch/layout_tile.h
index 78cafc8..4aff634 100644
--- a/patch/layout_tile.h
+++ b/patch/layout_tile.h
@@ -1,2 +1,2 @@
-static void tile(Monitor *);
+static void tile(Monitor *m);