Added 'con_move_to_mark' to move a container to the container holding a certain mark.

This commit is contained in:
Ingo Bürk
2015-04-15 18:36:45 +02:00
parent 9ab4216787
commit 475671ae2a
3 changed files with 62 additions and 21 deletions

View File

@ -210,6 +210,12 @@ void con_disable_fullscreen(Con *con);
*/
void con_move_to_workspace(Con *con, Con *workspace, bool fix_coordinates, bool dont_warp);
/**
* Moves the given container to the given mark.
*
*/
bool con_move_to_mark(Con *con, const char *mark);
/**
* Returns the orientation of the given container (for stacked containers,
* vertical orientation is used regardless of the actual orientation of the