removed pop unnecessary pop function to speed up install

This commit is contained in:
Alexander Bocken 2020-07-11 20:12:20 +02:00
parent b75ef3588c
commit c5596677d7

18
dwm.c
View File

@ -190,7 +190,7 @@ static void monocle(Monitor *m);
static void motionnotify(XEvent *e); static void motionnotify(XEvent *e);
static void movemouse(const Arg *arg); static void movemouse(const Arg *arg);
static Client *nexttiled(Client *c); static Client *nexttiled(Client *c);
static void pop(Client *); //static void pop(Client *);
static void propertynotify(XEvent *e); static void propertynotify(XEvent *e);
static void quit(const Arg *arg); static void quit(const Arg *arg);
static Monitor *recttomon(int x, int y, int w, int h); static Monitor *recttomon(int x, int y, int w, int h);
@ -1263,14 +1263,14 @@ nexttiled(Client *c)
return c; return c;
} }
void //void
pop(Client *c) //pop(Client *c)
{ //{
detach(c); // detach(c);
attach(c); // attach(c);
focus(c); // focus(c);
arrange(c->mon); // arrange(c->mon);
} //}
void void
propertynotify(XEvent *e) propertynotify(XEvent *e)