Commit Diff


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