Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
some other simplifications
[dwm.git]
/
main.c
diff --git
a/main.c
b/main.c
index
daeaa0a
..
9d583b2
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-27,6
+27,7
@@
Bool issel = True;
Bool maximized = False;
Client *clients = NULL;
Client *sel = NULL;
Bool maximized = False;
Client *clients = NULL;
Client *sel = NULL;
+Client *stack = NULL;
Cursor cursor[CurLast];
Display *dpy;
DC dc = {0};
Cursor cursor[CurLast];
Display *dpy;
DC dc = {0};
@@
-213,7
+214,7
@@
quit(Arg *arg)
/*
* There's no way to check accesses to destroyed windows, thus those cases are
* ignored (especially on UnmapNotify's). Other types of errors call Xlibs
/*
* There's no way to check accesses to destroyed windows, thus those cases are
* ignored (especially on UnmapNotify's). Other types of errors call Xlibs
- * default error handler, which
calls exit()
.
+ * default error handler, which
may call exit
.
*/
int
xerror(Display *dpy, XErrorEvent *ee)
*/
int
xerror(Display *dpy, XErrorEvent *ee)
@@
-228,7
+229,7
@@
xerror(Display *dpy, XErrorEvent *ee)
return 0;
fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n",
ee->request_code, ee->error_code);
return 0;
fprintf(stderr, "dwm: fatal error: request code=%d, error code=%d\n",
ee->request_code, ee->error_code);
- return xerrorxlib(dpy, ee); /* may call exit
()
*/
+ return xerrorxlib(dpy, ee); /* may call exit */
}
int
}
int