Adding zoomswap patch (pertag compatible)

This commit is contained in:
bakkeby
2019-09-05 23:19:23 +02:00
parent 591caea975
commit e681ab5dd9
8 changed files with 94 additions and 4 deletions

13
patch/zoomswap.c Normal file
View File

@@ -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;
}