Fix DWM patch bug

This commit is contained in:
2024-06-03 12:58:26 +01:00
parent 665562a765
commit ac6f1d8e74
3 changed files with 16 additions and 12 deletions

View File

@@ -107,7 +107,7 @@ struct Client {
int basew, baseh, incw, inch, maxw, maxh, minw, minh, hintsvalid;
int bw, oldbw;
unsigned int tags;
int isfixed, isfloating, isurgent, neverfocus, oldstate, isfullscreen, needresize, CenterThisWindow;
int isfixed, isfloating, isurgent, neverfocus, oldstate, isfullscreen, CenterThisWindow, needresize;
Client *next;
Client *snext;
Monitor *mon;
@@ -231,12 +231,12 @@ static void setmfact(const Arg *arg);
static void setup(void);
static void seturgent(Client *c, int urg);
static void showhide(Client *c);
static void sighup(int unused);
static void sigterm(int unused);
static void spawn(const Arg *arg);
static Monitor *systraytomon(Monitor *m);
static void tag(const Arg *arg);
static void tagmon(const Arg *arg);
static void sighup(int unused);
static void sigterm(int unused);
static void tile(Monitor *m);
static void togglebar(const Arg *arg);
static void togglefloating(const Arg *arg);
@@ -295,7 +295,7 @@ static void (*handler[LASTEvent]) (XEvent *) = {
[UnmapNotify] = unmapnotify
};
static Atom wmatom[WMLast], netatom[NetLast], xatom[XLast];
+static int restart = 0;
static int restart = 0;
static int running = 1;
static Cur *cursor[CurLast];
static Clr **scheme;