]> git.sur5r.net Git - i3/i3/blobdiff - include/render.h
Update copyright notices and get rid of ranges
[i3/i3] / include / render.h
index 26ae8d51985707e9ac901712c30d9a9cdda5ac5f..717459e98268dd8d743134e11820f62b33c78d5e 100644 (file)
@@ -1,10 +1,26 @@
 /*
  * vim:ts=4:sw=4:expandtab
+ *
+ * i3 - an improved dynamic tiling window manager
+ * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
+ *
+ * render.c: Renders (determines position/sizes) the layout tree, updating the
+ *           various rects. Needs to be pushed to X11 (see x.c) to be visible.
+ *
  */
+#pragma once
 
-#ifndef _RENDER_H
-#define _RENDER_H
-
-void render_con(Con *con);
+/**
+ * "Renders" the given container (and its children), meaning that all rects are
+ * updated correctly. Note that this function does not call any xcb_*
+ * functions, so the changes are completely done in memory only (and
+ * side-effect free). As soon as you call x_push_changes(), the changes will be
+ * updated in X11.
+ *
+ */
+void render_con(Con *con, bool render_fullscreen);
 
-#endif
+/*
+ * Returns the height for the decorations
+ */
+int render_deco_height(void);