mirror of
https://github.com/swaywm/sway.git
synced 2025-11-10 13:29:51 -05:00
Implement tiling drag
Hold floating_modifier and drag a tiling view to a new location.
This commit is contained in:
parent
ec9c4de564
commit
8bb40c24c7
10 changed files with 274 additions and 6 deletions
|
|
@ -279,8 +279,11 @@ void container_add_child(struct sway_container *parent,
|
|||
void container_insert_child(struct sway_container *parent,
|
||||
struct sway_container *child, int i);
|
||||
|
||||
/**
|
||||
* Side should be 0 to add before, or 1 to add after.
|
||||
*/
|
||||
void container_add_sibling(struct sway_container *parent,
|
||||
struct sway_container *child);
|
||||
struct sway_container *child, int side);
|
||||
|
||||
void container_detach(struct sway_container *child);
|
||||
|
||||
|
|
|
|||
|
|
@ -126,4 +126,6 @@ void workspace_update_representation(struct sway_workspace *ws);
|
|||
|
||||
void workspace_get_box(struct sway_workspace *workspace, struct wlr_box *box);
|
||||
|
||||
size_t workspace_num_tiling_views(struct sway_workspace *ws);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue