1
0
Fork 0
forked from wry/wry

feat: add alternating autotiling

This commit is contained in:
atagen 2026-05-31 17:16:44 +10:00
parent ce14169d6b
commit 5c2f631fdb
17 changed files with 244 additions and 59 deletions

View file

@ -979,7 +979,7 @@ impl ToplevelData {
}
fd.workspace.remove_fullscreen_node();
if fd.placeholder.is_destroyed() {
state.map_tiled(node);
state.map_tiled_without_autotile(node);
return;
}
let parent = fd.placeholder.tl_data().parent.take().unwrap();
@ -1262,7 +1262,7 @@ pub fn toplevel_set_floating(state: &Rc<State>, tl: Rc<dyn ToplevelNode>, floati
};
if !floating {
parent.cnode_remove_child2(&*tl, true);
state.map_tiled(tl);
state.map_tiled_without_autotile(tl);
} else if let Some(ws) = data.workspace.get() {
let node_id = data.node_id;
let old_body =