commit 715dc48d96e849954524bc47757a69649abac0ac from: Brett Fisher date: Thu Jun 18 05:30:32 2026 UTC bxnotify.c: Eliminate variable shadowing in xerror handler. - Rename the local 'dpy' parameter in the xerror() function to 'd'. to prevent the local parameter from shadowing the global 'dpy' Display pointer. - Update the chained error handler call to use the new 'd' parameter. commit - d05d00966b605a8bbb2d3fb2856c5233ecdefcb2 commit + 715dc48d96e849954524bc47757a69649abac0ac blob - 2a39535ddb7c6a490fb79c44c7a827b9ca65ddd7 blob + e0ba0644373ae3e4f5aa93ddb249556b5c63a046 --- bxnotify.c +++ bxnotify.c @@ -177,12 +177,12 @@ readstdin(void) } static int -xerror(Display *dpy, XErrorEvent *ee) +xerror(Display *d, XErrorEvent *ee) { /* Silently ignore BadAccess from XGrabKey - another instance has the grab */ if (ee->error_code == BadAccess && ee->request_code == 33) return 0; - return xerrorxlib(dpy, ee); + return xerrorxlib(d, ee); } static void