Merge pull request #1698 from Airblader/feature-1696

Added 'move position mouse'
This commit is contained in:
Michael Stapelberg
2015-05-17 15:02:50 +02:00
7 changed files with 262 additions and 23 deletions

View File

@ -258,6 +258,12 @@ void cmd_move_window_to_position(I3_CMD, char *method, char *x, char *y);
*/
void cmd_move_window_to_center(I3_CMD, char *method);
/**
* Implementation of 'move [window|container] [to] position mouse'
*
*/
void cmd_move_window_to_mouse(I3_CMD);
/**
* Implementation of 'move scratchpad'.
*

View File

@ -70,6 +70,12 @@ bool floating_maybe_reassign_ws(Con *con);
*/
void floating_center(Con *con, Rect rect);
/**
* Moves the given floating con to the current pointer position.
*
*/
void floating_move_to_pointer(Con *con);
#if 0
/**
* Removes the floating client from its workspace and attaches it to the new