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