diff options
Diffstat (limited to 'alacritty/src/event.rs')
-rw-r--r-- | alacritty/src/event.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs index f3fbc699..affb8f4c 100644 --- a/alacritty/src/event.rs +++ b/alacritty/src/event.rs @@ -67,7 +67,7 @@ const MAX_HISTORY_SIZE: usize = 255; #[derive(Debug, Clone)] pub enum Event { TerminalEvent(TerminalEvent), - DPRChanged(f64, (u32, u32)), + DprChanged(f64, (u32, u32)), Scroll(Scroll), ConfigReload(PathBuf), Message(Message), @@ -1045,7 +1045,7 @@ impl<N: Notify + OnResize> Processor<N> { } => { *control_flow = ControlFlow::Poll; let size = (new_inner_size.width, new_inner_size.height); - self.event_queue.push(Event::DPRChanged(scale_factor, size).into()); + self.event_queue.push(Event::DprChanged(scale_factor, size).into()); return; }, // Transmute to extend lifetime, which exists only for `ScaleFactorChanged` event. @@ -1138,7 +1138,7 @@ impl<N: Notify + OnResize> Processor<N> { { match event { GlutinEvent::UserEvent(event) => match event { - Event::DPRChanged(scale_factor, (width, height)) => { + Event::DprChanged(scale_factor, (width, height)) => { let display_update_pending = &mut processor.ctx.display_update_pending; // Push current font to update its DPR. |