Adding stacker patch as requested ref. #17

This commit is contained in:
bakkeby
2020-03-23 12:15:50 +01:00
parent cd818c14bb
commit 7bc3cf765e
8 changed files with 127 additions and 2 deletions

4
dwm.c
View File

@@ -342,7 +342,9 @@ static void expose(XEvent *e);
static void focus(Client *c);
static void focusin(XEvent *e);
static void focusmon(const Arg *arg);
#if !STACKER_PATCH
static void focusstack(const Arg *arg);
#endif // STACKER_PATCH
static int getrootptr(int *x, int *y);
static long getstate(Window w);
static int gettextprop(Window w, Atom atom, char *text, unsigned int size);
@@ -1784,6 +1786,7 @@ focusmon(const Arg *arg)
#endif // WARP_PATCH
}
#if !STACKER_PATCH
void
focusstack(const Arg *arg)
{
@@ -1813,6 +1816,7 @@ focusstack(const Arg *arg)
restack(selmon);
}
}
#endif // STACKER_PATCH
Atom
getatomprop(Client *c, Atom prop)