diff options
-rw-r--r-- | src/event.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<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; + } _ => (), } } |