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.
This commit is contained in:
parent
d55d09ee68
commit
8b5787a21e
|
@ -20,6 +20,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||||
|
|
||||||
- Cursors are now inverted when their fixed color is similar to the cell's background
|
- Cursors are now inverted when their fixed color is similar to the cell's background
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Incorrect window location with negative `window.position` config options
|
||||||
|
|
||||||
## 0.5.0
|
## 0.5.0
|
||||||
|
|
||||||
### Packaging
|
### Packaging
|
||||||
|
|
|
@ -334,7 +334,7 @@ impl Window {
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
pub fn set_urgent(&self, _is_urgent: bool) {}
|
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);
|
self.window().set_outer_position(pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue