mirror of
https://github.com/swaywm/sway.git
synced 2025-11-04 13:29:52 -05:00
Implement move to workspace on a floating container
Also adjusts container_floating_translate to not change the current properties directly.
This commit is contained in:
parent
6f0bc469e9
commit
36281609ea
3 changed files with 54 additions and 7 deletions
|
|
@ -328,6 +328,14 @@ void container_floating_translate(struct sway_container *con,
|
|||
void container_floating_move_to(struct sway_container *con,
|
||||
double lx, double ly);
|
||||
|
||||
/**
|
||||
* Move a floating container to the center of the workspace.
|
||||
*/
|
||||
void container_floating_move_to_center(struct sway_container *con);
|
||||
|
||||
void container_floating_move_to_container(struct sway_container *container,
|
||||
struct sway_container *destination);
|
||||
|
||||
/**
|
||||
* Mark a container as dirty if it isn't already. Dirty containers will be
|
||||
* included in the next transaction then unmarked as dirty.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue