diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-01-04 00:19:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-04 00:19:06 +0000 |
commit | dc063180f31a4c94a2ad3e5e0c6535e39edcfa9a (patch) | |
tree | fcdc9c5d482e832f79b7d093e0fbd428107f72b3 | |
parent | 05df4f4dbabd82bc71cea6b81ee9383a55b32088 (diff) | |
download | alacritty-dc063180f31a4c94a2ad3e5e0c6535e39edcfa9a.tar.gz alacritty-dc063180f31a4c94a2ad3e5e0c6535e39edcfa9a.zip |
Fix macOS OpenGL context resize ordering
Fixes #2226.
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | alacritty/src/display.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c426a47..01a32238 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Crash on `clear` when scrolled up in history - Entire screen getting underlined/stroke out when running `clear` - Slow startup on some Wayland compositors +- Padding not consistently visible on macOS ### Removed diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs index 0b1a64a0..e02381e7 100644 --- a/alacritty/src/display.rs +++ b/alacritty/src/display.rs @@ -343,8 +343,8 @@ impl Display { // Resize renderer let physical = PhysicalSize::new(f64::from(self.size_info.width), f64::from(self.size_info.height)); - self.renderer.resize(&self.size_info); self.window.resize(physical); + self.renderer.resize(&self.size_info); } /// Draw the screen |