diff options
| author | bakkeby <[email protected]> | 2019-09-05 23:19:23 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2019-09-05 23:19:23 +0200 |
| commit | e681ab5dd99c5b0b8693846239976c3cb66fe502 (patch) | |
| tree | b653c8142dc2bdda1f8f03a734dcd5b1830cf44a /patch/zoomswap.c | |
| parent | 591caea975327d912b0650dd7cbbf66329c40585 (diff) | |
| download | dwm-flexipatch-e681ab5dd99c5b0b8693846239976c3cb66fe502.tar.gz dwm-flexipatch-e681ab5dd99c5b0b8693846239976c3cb66fe502.zip | |
Adding zoomswap patch (pertag compatible)
Diffstat (limited to 'patch/zoomswap.c')
| -rw-r--r-- | patch/zoomswap.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patch/zoomswap.c b/patch/zoomswap.c new file mode 100644 index 0000000..b7d0fa1 --- /dev/null +++ b/patch/zoomswap.c @@ -0,0 +1,13 @@ + +#if !PERTAG_PATCH +static Client *prevzoom = NULL; +#endif // PERTAG_PATCH + +Client * +prevtiled(Client *c) { + Client *p; + if (!c || c == c->mon->clients) + return NULL; + for (p = c->mon->clients; p && p->next != c; p = p->next); + return p; +}
\ No newline at end of file |
