diff options
author | tcmal <me@aria.rip> | 2024-08-30 16:51:50 +0100 |
---|---|---|
committer | tcmal <me@aria.rip> | 2024-08-30 17:10:47 +0100 |
commit | 8fc827a3b30de16b6adbf80abea3bc224d507268 (patch) | |
tree | c9a37a1dbaf02ec3b52000b5feaa3cba6af511ef /src/clients/monitors.rs | |
parent | a568b4a79d1ccabfdff0a5a8ecbb908e96f17cf5 (diff) |
Add bind for going back and forth between tags
Diffstat (limited to 'src/clients/monitors.rs')
-rw-r--r-- | src/clients/monitors.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/clients/monitors.rs b/src/clients/monitors.rs index c828fbd..ba59772 100644 --- a/src/clients/monitors.rs +++ b/src/clients/monitors.rs @@ -8,6 +8,9 @@ pub struct MonitorInfo { /// How clients should be filtered by tag pub focused_tag: TagFocus, + /// The previously focused tag, for going back-and-forth + pub last_focused_tag: TagFocus, + /// The monitor's geometry pub screen_info: MonitorGeometry, } @@ -60,6 +63,7 @@ impl Default for MonitorInfo { height: 0, }, focused_tag: TagFocus::Tag(1), + last_focused_tag: TagFocus::Tag(1), } } } |