atagen

monolith

public
Star0
Watch0

Commit c371f16816a5

tarball

atagen <boss@atagen.co>2026-10-17 14:00 UTC

2 files changed+3-2
monolith: bring a window's tag into view on the output it is sent to

Sending a window to an output not showing its tag hid it there, though with no other window of that tag on the output nothing else would appear with it.
Modified file: crates/config/default.toml+2 additions−2 deletions
@@ -17,8 +17,8 @@ focus_follows_mouse = false
1717 # Put the pointer in the middle of a window focused from the keyboard, a
1818 # rule or a new map. Bare metal only, a nested pointer belongs to the host.
1919 mouse_follows_focus = false
20-# A window landing on or moved to an empty tag that is not in view brings
21-# the tag into view, alongside the tags already shown.
20+# A window landing on, or moved to, a tag or output where its tag is empty and
21+# not in view brings the tag into view there, alongside the tags already shown.
2222 view_tag_on_first_window = true
2323
2424 [decoration]
Modified file: crates/monolith/src/commands.rs+1 additions
@@ -139,6 +139,7 @@ impl State {
139139 output.and_then(|o| self.wm.layout.output_towards(o, d)),
140140 ) {
141141 self.wm.layout.send_to_output(w, o);
142+ self.view_if_first(w);
142143 }
143144 }
144145 Command::Scratchpad { name } => {