diff options
| author | bakkeby <[email protected]> | 2020-08-04 13:40:09 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-04 13:40:09 +0200 |
| commit | 12527f00d96d92718bcf996d3ed4d0c325b8c622 (patch) | |
| tree | 9e0bf86c2a1a5781998493852ef42d8ad0d63380 | |
| parent | ed7a43edf1f682e99d4d9d1796e104b69fb81e1e (diff) | |
| download | dwm-flexipatch-12527f00d96d92718bcf996d3ed4d0c325b8c622.tar.gz dwm-flexipatch-12527f00d96d92718bcf996d3ed4d0c325b8c622.zip | |
zoomswap: renamed prevtiled back to findbefore as per original patch
| -rw-r--r-- | dwm.c | 4 | ||||
| -rw-r--r-- | patch/zoomswap.c | 2 | ||||
| -rw-r--r-- | patch/zoomswap.h | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -3886,7 +3886,7 @@ zoom(const Arg *arg) #else p = prevzoom; #endif // PERTAG_PATCH - at = prevtiled(p); + at = findbefore(p); if (at) cprevious = nexttiled(at->next); if (!cprevious || cprevious != p) { @@ -3911,7 +3911,7 @@ zoom(const Arg *arg) cold = nexttiled(selmon->clients); if (c != cold && !at) - at = prevtiled(c); + at = findbefore(c); detach(c); attach(c); /* swap windows instead of pushing the previous one down */ diff --git a/patch/zoomswap.c b/patch/zoomswap.c index b7d0fa1..d7f57c4 100644 --- a/patch/zoomswap.c +++ b/patch/zoomswap.c @@ -4,7 +4,7 @@ static Client *prevzoom = NULL; #endif // PERTAG_PATCH Client * -prevtiled(Client *c) { +findbefore(Client *c) { Client *p; if (!c || c == c->mon->clients) return NULL; diff --git a/patch/zoomswap.h b/patch/zoomswap.h index 31633b5..21cc848 100644 --- a/patch/zoomswap.h +++ b/patch/zoomswap.h @@ -1 +1 @@ -static Client *prevtiled(Client *c);
\ No newline at end of file +static Client *findbefore(Client *c);
\ No newline at end of file |
