Bugfix: Correctly warp floating windows when using the 'move' command

This commit is contained in:
Michael Stapelberg
2011-08-24 22:59:46 +02:00
parent cd2d7ef484
commit 698d97cd02
4 changed files with 15 additions and 7 deletions

View File

@ -131,10 +131,14 @@ void con_toggle_fullscreen(Con *con, int fullscreen_mode);
/**
* Moves the given container to the currently focused container on the given
* workspace.
*
* The dont_warp flag disables pointer warping and will be set when this
* function is called while dragging a floating window.
*
* TODO: is there a better place for this function?
*
*/
void con_move_to_workspace(Con *con, Con *workspace);
void con_move_to_workspace(Con *con, Con *workspace, bool dont_warp);
/**
* Returns the orientation of the given container (for stacked containers,