X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/f18ed615ae7beb9eb6420510c83beb847d875bcb..868159fd0a8ce45f1e362bc762260741eabce4ed:/main.c diff --git a/main.c b/main.c index daeaa0a..9d583b2 100644 --- a/main.c +++ b/main.c @@ -27,6 +27,7 @@ Bool issel = True; Bool maximized = False; Client *clients = NULL; Client *sel = NULL; +Client *stack = NULL; 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 - * default error handler, which calls exit(). + * default error handler, which may call exit. */ 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 xerrorxlib(dpy, ee); /* may call exit() */ + return xerrorxlib(dpy, ee); /* may call exit */ } int