Commit Diff


commit - c403f22497e7af16a964775a2d80cde31374cc06
commit + a06c6f9c6bd86e19f139cf1a06738cbcf9c704a2
blob - 371bbfcc955ef87b04a186086283a40ff5c57f02
blob + 0e32305a929b0f118ff10cfdbdc072a3e7445b97
--- bxinfo.c
+++ bxinfo.c
@@ -16,8 +16,6 @@ static Window *get_window_list(Display *dpy, Window wi
                                unsigned long *count);
 static char *get_window_name(Display *dpy, Window win);
 
-/* Read a single CARDINAL property from a window.
- * Returns the value, or -1 on failure. */
 static long
 get_cardinal(Display *dpy, Window win, Atom prop)
 {
@@ -36,9 +34,6 @@ get_cardinal(Display *dpy, Window win, Atom prop)
     return val;
 }
 
-/* Read a WINDOW list property from a window.
- * Returns dynamically allocated array; caller must free.
- * Sets *count to number of items. Returns NULL on failure. */
 static Window *
 get_window_list(Display *dpy, Window win, Atom prop, unsigned long *count)
 {
@@ -65,9 +60,6 @@ get_window_list(Display *dpy, Window win, Atom prop, u
     return NULL;
 }
 
-/* Read the name of a window.
- * Tries _NET_WM_NAME (UTF8_STRING), falls back to WM_NAME (XA_STRING).
- * Returns malloc'd string or NULL. Caller must free(). */
 static char *
 get_window_name(Display *dpy, Window win)
 {