Use "outer" positions in all window-related operations

This commit is contained in:
Héctor Ramón Jiménez 2024-12-06 04:28:06 +01:00
parent f2c9b6b2ff
commit a0acaba866
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 17 additions and 2 deletions

View file

@ -165,7 +165,7 @@ where
{
pub fn position(&self) -> Option<Point> {
self.raw
.inner_position()
.outer_position()
.ok()
.map(|position| position.to_logical(self.raw.scale_factor()))
.map(|position| Point {