mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-14 17:53:03 -04:00
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
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
### Fixed
|
||||
|
||||
- Incorrect window location with negative `window.position` config options
|
||||
|
||||
## 0.5.0
|
||||
|
||||
### Packaging
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue