36 xcb_get_window_attributes_cookie_t cookie,
37 bool needs_to_be_mapped);
48 void reparent_window(xcb_connection_t *
conn, xcb_window_t child,
49 xcb_visualid_t visual, xcb_window_t
root, uint8_t depth,
51 uint32_t border_width);
void manage_existing_windows(xcb_window_t root)
Go through all existing windows (if the window manager is restarted) and manage them.
void restore_geometry(void)
Restores the geometry of each window by reparenting it to the root window at the position of its fram...
void manage_window(xcb_window_t window, xcb_get_window_attributes_cookie_t cookie, bool needs_to_be_mapped)
Do some sanity checks and then reparent the window.