commit 35aad0741352b1d223abe9dca6d9d4120db65631 from: Brett Fisher date: Fri May 22 21:04:56 2026 UTC bxwm.c: Edit comments. commit - 15d700d967eab71ec9736c8e86c50116e5af217b commit + 35aad0741352b1d223abe9dca6d9d4120db65631 blob - af96ba99594aa29f77b7dc183e992a683c88beca blob + cd57322cda2169668c5ee8d16806e396151c9287 --- bxwm.c +++ bxwm.c @@ -1,6 +1,5 @@ /* * bxwm - * * A very basic X window manager, a.k.a. Brett's X window manager. * See LICENSE.md and README.md for details. */ @@ -34,6 +33,7 @@ typedef struct { int layout; } Client; +/* Global Variables */ static Display *dpy; static Window root; static int screen; @@ -60,7 +60,7 @@ static Atom wm_protocols, wm_delete_window; static void logmsg(const char *fmt, ...); static void spawn(const char *cmd); static int xerror(Display *dpy, XErrorEvent *ee); -/* Lifecycle */ +/* Setup & Teardown */ int socket_init(void); static void setup(void); static void cleanup(int status);