Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
implemented tagging a client
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
b63d07e
..
543d156
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-38,8
+38,9
@@
int tsel = Tdev; /* default tag */
int screen, sx, sy, sw, sh, th;
DC dc = {0};
int screen, sx, sy, sw, sh, th;
DC dc = {0};
-Client *clients = NULL;
-Client *stack = NULL;
+Client *cstart = NULL;
+Client *cend = NULL;
+Client *csel = NULL;
static Bool other_wm_running;
static const char version[] =
static Bool other_wm_running;
static const char version[] =
@@
-168,13
+169,13
@@
startup_error_handler(Display *dpy, XErrorEvent *error)
static void
cleanup()
{
static void
cleanup()
{
- while(c
lients
)
- unmanage(c
lients
);
+ while(c
sel
)
+ unmanage(c
sel
);
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
}
void
XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
}
void
-quit(
void *aux
)
+quit(
Arg *arg
)
{
running = False;
}
{
running = False;
}