diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-08-02 20:09:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-02 20:09:53 +0000 |
commit | 8b5787a21e4b89464fa1c1a8d8cea1b161cec8af (patch) | |
tree | fa4d86ab3965ee5b66439ce3d01c17d95dee3597 /alacritty/src | |
parent | d55d09ee682af01db8ee1cb16d6822923578c912 (diff) | |
download | r-alacritty-8b5787a21e4b89464fa1c1a8d8cea1b161cec8af.tar.gz r-alacritty-8b5787a21e4b89464fa1c1a8d8cea1b161cec8af.tar.bz2 r-alacritty-8b5787a21e4b89464fa1c1a8d8cea1b161cec8af.zip |
Fix negative window position
This resolves an issue where negative window positions set in the
configuration file would not place the Alacritty window in the correct
location.
Fixes #4061.
Diffstat (limited to 'alacritty/src')
-rw-r--r-- | alacritty/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/window.rs b/alacritty/src/window.rs index 172d5acc..bfe7360a 100644 --- a/alacritty/src/window.rs +++ b/alacritty/src/window.rs @@ -334,7 +334,7 @@ impl Window { #[cfg(windows)] pub fn set_urgent(&self, _is_urgent: bool) {} - pub fn set_outer_position(&self, pos: PhysicalPosition<u32>) { + pub fn set_outer_position(&self, pos: PhysicalPosition<i32>) { self.window().set_outer_position(pos); } |