diff options
Diffstat (limited to 'src/group.h')
-rw-r--r-- | src/group.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/group.h b/src/group.h index fa58cce..748c273 100644 --- a/src/group.h +++ b/src/group.h @@ -5,7 +5,7 @@ void init_groups (); void group_add_window (rp_group *g, rp_window *w); void group_resort_window (rp_group *g, rp_window_elem *w); void group_free (rp_group *g); -rp_group *group_new (int number); +rp_group *group_new (int number, char *name); void group_del_window (rp_group *g, rp_window *win); void groups_del_window (rp_window *win); @@ -18,15 +18,20 @@ void groups_unmap_window (rp_window *win); rp_window *group_prev_window (rp_group *g, rp_window *win); rp_window *group_next_window (rp_group *g, rp_window *win); +rp_group *groups_find_group_by_name (char *s); +rp_group *groups_find_group_by_number (int n); rp_window *group_last_window (rp_group *g); rp_group *group_prev_group (); rp_group *group_next_group (); -rp_group *group_add_new_group (); +rp_group *group_add_new_group (char *name); rp_window_elem *group_find_window (struct list_head *list, rp_window *win); rp_window_elem *group_find_window_by_number (rp_group *g, int num); +void group_move_window (rp_group *to, rp_window *win); +void groups_merge (rp_group *from, rp_group *to); + #endif |