[don't fail on empty atoms, remove old debugging code
John Meacham <john@repetae.net>**20050725125316] {
hunk ./print_event.c 50
+static char *
+getAtomName(Display *dpy, Atom atom)
+{
+        if(!atom) return NULL;
+        return XGetAtomName (dpy, atom);
+}
hunk ./print_event.c 422
-    char *aname = XGetAtomName (dpy, e->atom);
+    char *aname = getAtomName (dpy, e->atom);
hunk ./print_event.c 443
-    char *sname = XGetAtomName (dpy, e->selection);
+    char *sname = getAtomName (dpy, e->selection);
hunk ./print_event.c 456
-    char *sname = XGetAtomName (dpy, e->selection);
-    char *tname = XGetAtomName (dpy, e->target);
-    char *pname = XGetAtomName (dpy, e->property);
+    char *sname = getAtomName (dpy, e->selection);
+    char *tname = getAtomName (dpy, e->target);
+    char *pname = getAtomName (dpy, e->property);
hunk ./print_event.c 476
-    char *sname = XGetAtomName (dpy, e->selection);
-    char *tname = XGetAtomName (dpy, e->target);
-    char *pname = XGetAtomName (dpy, e->property);
+    char *sname = getAtomName (dpy, e->selection);
+    char *tname = getAtomName (dpy, e->target);
+    char *pname = getAtomName (dpy, e->property);
hunk ./print_event.c 513
-    char *mname = XGetAtomName (dpy, e->message_type);
+    char *mname = getAtomName (dpy, e->message_type);
hunk ./seven.c 43
-/* arch-tag: f5eee741-ae16-49fc-b63c-7c7da7ffed3f */
-
-
hunk ./seven.c 91
-event_finalizer()
+event_finalizer(void)
hunk ./seven.c 123
-have_waited()
+have_waited(void)
hunk ./seven.c 147
+        /*
hunk ./seven.c 156
+        XSendEvent(conn->dpy, win.w, false, 0, &ev);
+        */
hunk ./seven.c 159
-        //XSendEvent(conn->dpy, win.w, false, 0, &ev);
}
