]> git.lizzy.rs Git - bspwm.git/blobdiff - tree.h
Update TODO
[bspwm.git] / tree.h
diff --git a/tree.h b/tree.h
index 615860ad55767f82abf787af59707e23c62f7d49..ad076e6ad472bfa8a763ee231faeb8bc7175ac89 100644 (file)
--- a/tree.h
+++ b/tree.h
@@ -5,8 +5,10 @@
 #define DEC_EXP 1.1
 
 bool is_leaf(node_t *);
-bool is_first_child(node_t *n);
-bool is_second_child(node_t *n);
+bool is_tiled(client_t *);
+bool is_floating(client_t *);
+bool is_first_child(node_t *);
+bool is_second_child(node_t *);
 void change_split_ratio(node_t *, value_change_t);
 node_t *first_extrema(node_t *);
 node_t *second_extrema(node_t *);
@@ -16,6 +18,29 @@ node_t *find_fence(node_t *, direction_t);
 node_t *find_neighbor(node_t *, direction_t);
 void move_fence(node_t *, direction_t, fence_move_t);
 void rotate_tree(node_t *, rotate_t);
-void dump_tree(node_t *, char *, int);
+void arrange(monitor_t *, desktop_t *);
+void apply_layout(monitor_t *, desktop_t *, node_t *, xcb_rectangle_t, xcb_rectangle_t);
+void insert_node(monitor_t *, desktop_t *, node_t *);
+void focus_node(monitor_t *, desktop_t *, node_t *, bool);
+void update_current(void);
+void unlink_node(desktop_t *, node_t *);
+void remove_node(desktop_t *, node_t *);
+void destroy_tree(node_t *);
+void swap_nodes(node_t *, node_t *);
+void fit_monitor(monitor_t *, client_t *);
+void transfer_node(monitor_t *, desktop_t *, monitor_t *, desktop_t *, node_t *);
+void select_monitor(monitor_t *);
+void select_desktop(desktop_t *);
+void cycle_monitor(cycle_dir_t);
+void cycle_desktop(monitor_t *, desktop_t *, cycle_dir_t, skip_desktop_t);
+void cycle_leaf(monitor_t *, desktop_t *, node_t *, cycle_dir_t, skip_client_t);
+void nearest_leaf(monitor_t *, desktop_t *, node_t *, nearest_arg_t, skip_client_t);
+void circulate_leaves(monitor_t *, desktop_t *, circulate_dir_t);
+void update_vacant_state(node_t *);
+void put_status(void);
+void list_monitors(list_option_t, char *);
+void list_desktops(monitor_t *, list_option_t, unsigned int, char *);
+void list(desktop_t *, node_t *, char *, unsigned int);
+void restore(char *);
 
 #endif