mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-01 01:14:32 +03:00
Redraw screen on focus
Fixes an issue where waking from sleep on macOS would continue showing the lock screen if Alacritty was the active app.
This commit is contained in:
1 parent
8360ab44ec
commit
cbb9167d43
1 file changed
+4
@@ -80,6 +80,10 @@ impl<N: input::Notify> Processor<N> {
|
||||
|
||||
processor.mouse_input(state, button, notifier, *terminal.mode());
|
||||
},
|
||||
glutin::Event::Focused(true) => {
|
||||
let mut terminal = self.terminal.lock();
|
||||
terminal.dirty = true;
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user