all: add support for hy3 like tiling
This commit is contained in:
parent
a41dbae899
commit
cea4187fc0
21 changed files with 1237 additions and 48 deletions
|
|
@ -677,6 +677,33 @@ impl Seat {
|
|||
pub fn unstable_set_mouse_follows_focus(self, enabled: bool) {
|
||||
get!().seat_set_mouse_follows_focus(self, enabled)
|
||||
}
|
||||
|
||||
/// Toggles tabbed mode on the focused window's parent container.
|
||||
pub fn toggle_tab(self) {
|
||||
get!().seat_toggle_tab(self)
|
||||
}
|
||||
|
||||
/// Wraps the focused child in a new sub-container with the given split axis.
|
||||
pub fn make_group(self, axis: Axis, ephemeral: bool) {
|
||||
get!().seat_make_group(self, axis, ephemeral)
|
||||
}
|
||||
|
||||
/// Toggles the parent container's split direction (H↔V).
|
||||
pub fn change_group_opposite(self) {
|
||||
get!().seat_change_group_opposite(self)
|
||||
}
|
||||
|
||||
/// Resets all siblings' size factors to equal.
|
||||
pub fn equalize(self, recursive: bool) {
|
||||
get!().seat_equalize(self, recursive)
|
||||
}
|
||||
|
||||
/// Move the active tab left or right within the current tab bar.
|
||||
///
|
||||
/// Equivalent to hy3's `movewindow` within a tabbed group.
|
||||
pub fn move_tab(self, right: bool) {
|
||||
get!().seat_move_tab(self, right)
|
||||
}
|
||||
}
|
||||
|
||||
/// A focus-follows-mouse mode.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue