mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-17 07:56:11 +01:00
dwm flexipatch
This commit is contained in:
14
dwm/.dwm/patch/zoomswap.c
Normal file
14
dwm/.dwm/patch/zoomswap.c
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
#if !PERTAG_PATCH
|
||||
static Client *prevzoom = NULL;
|
||||
#endif // PERTAG_PATCH
|
||||
|
||||
Client *
|
||||
findbefore(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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user