From: Michael Stapelberg Date: Wed, 18 Feb 2009 21:44:14 +0000 (+0100) Subject: Document save set X-Git-Tag: 3.a~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=62c28482112791b41efa3472c05a4e1588aebdb7;p=i3%2Fi3 Document save set --- diff --git a/src/mainx.c b/src/mainx.c index b8a8da19..229e84e4 100644 --- a/src/mainx.c +++ b/src/mainx.c @@ -171,7 +171,9 @@ void reparent_window(xcb_connection_t *conn, xcb_window_t child, /* Yo dawg, I heard you like windows, so I create a window around your window… */ new->frame = create_window(conn, framerect, XCB_WINDOW_CLASS_INPUT_OUTPUT, mask, values); - /* TODO: document */ + /* Put the client inside the save set. Upon termination (whether killed or normal exit + does not matter) of the window manager, these clients will be correctly reparented + to their most closest living ancestor (= cleanup) */ xcb_change_save_set(conn, XCB_SET_MODE_INSERT, child); /* Generate a graphics context for the titlebar */