]> git.sur5r.net Git - i3/i3/blobdiff - include/tree.h
Merge branch 'master' into next
[i3/i3] / include / tree.h
index 81fdbe6acab95374499b138a4d09f2b9eaf18e4d..8816b19a640a55d0fa84300bdd59295c56c24943 100644 (file)
@@ -39,23 +39,23 @@ Con *tree_open_con(Con *con, i3Window *window);
 void tree_split(Con *con, orientation_t orientation);
 
 /**
- * Moves focus one level up.
+ * Moves focus one level up. Returns true if focus changed.
  *
  */
-void level_up();
+bool level_up(void);
 
 /**
- * Moves focus one level down.
+ * Moves focus one level down. Returns true if focus changed.
  *
  */
-void level_down();
+bool level_down(void);
 
 /**
  * Renders the tree, that is rendering all outputs using render_con() and
  * pushing the changes to X11 using x_push_changes().
  *
  */
-void tree_render();
+void tree_render(void);
 
 /**
  * Closes the current container using tree_close().