]> git.sur5r.net Git - i3/i3/blobdiff - src/client.c
Bugfix: Fix screen wrapping, cleanup some log messages
[i3/i3] / src / client.c
index a42698055c63f1849b6965abf4fe942183dbd957..12125d8b52d410caa77e0324607ca7732a456945 100644 (file)
@@ -314,3 +314,11 @@ void client_map(xcb_connection_t *conn, Client *client) {
 
         xcb_map_window(conn, client->frame);
 }
+
+/*
+ * Pretty-prints the client’s information into the logfile.
+ *
+ */
+void client_log(Client *client) {
+        LOG("Window: frame 0x%08x, child 0x%08x\n", client->frame, client->child);
+}