diff --git a/src/event.rs b/src/event.rs index a2a4075d..46b96ab0 100644 --- a/src/event.rs +++ b/src/event.rs @@ -80,6 +80,10 @@ impl Processor { processor.mouse_input(state, button, notifier, *terminal.mode()); }, + glutin::Event::Focused(true) => { + let mut terminal = self.terminal.lock(); + terminal.dirty = true; + } _ => (), } }