diff options
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), } } } |