Fix tab/monocle mode not displaying the focused window
Browse files
+2 −0 src/window_manager.rs
| @@ -794,11 +794,13 @@ impl WindowManager { | |||
| 794 | KeyAction::FocusStack => { | 794 | KeyAction::FocusStack => { |
| 795 | if let Arg::Int(direction) = arg { | 795 | if let Arg::Int(direction) = arg { |
| 796 | self.focusstack(*direction)?; | 796 | self.focusstack(*direction)?; |
| 797 | + self.restack()?; | ||
| 797 | } | 798 | } |
| 798 | } | 799 | } |
| 799 | KeyAction::MoveStack => { | 800 | KeyAction::MoveStack => { |
| 800 | if let Arg::Int(direction) = arg { | 801 | if let Arg::Int(direction) = arg { |
| 801 | self.move_stack(*direction)?; | 802 | self.move_stack(*direction)?; |
| 803 | + self.restack()?; | ||
| 802 | } | 804 | } |
| 803 | } | 805 | } |
| 804 | KeyAction::Quit | KeyAction::Restart => { | 806 | KeyAction::Quit | KeyAction::Restart => { |