summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-01-06 20:26:07 +0100
committerLibravatar GitHub <noreply@github.com>2025-01-06 20:26:07 +0100
commite543329c79dbb8e583915b14148c757d6bfd6b38 (patch)
tree7f994feece86caf4ea8e3a609eab73713d4f9076 /core/src
parentf2c9b6b2ffc50d67d9789e77cb55eeb2a0ebe470 (diff)
parentbfab1a32d1d50875875800413b6f399689ec6d04 (diff)
downloadiced-e543329c79dbb8e583915b14148c757d6bfd6b38.tar.gz
iced-e543329c79dbb8e583915b14148c757d6bfd6b38.tar.bz2
iced-e543329c79dbb8e583915b14148c757d6bfd6b38.zip
Merge pull request #2688 from iced-rs/fix/window-position-inconsistency
Use "outer" positions in all window-related operations
Diffstat (limited to 'core/src')
-rw-r--r--core/src/window/event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/window/event.rs b/core/src/window/event.rs
index 4e2751ee..45d29179 100644
--- a/core/src/window/event.rs
+++ b/core/src/window/event.rs
@@ -9,8 +9,8 @@ pub enum Event {
/// A window was opened.
Opened {
/// The position of the opened window. This is relative to the top-left corner of the desktop
- /// the window is on, including virtual desktops. Refers to window's "inner" position,
- /// or the client area, in logical pixels.
+ /// the window is on, including virtual desktops. Refers to window's "outer" position,
+ /// or the window area, in logical pixels.
///
/// **Note**: Not available in Wayland.
position: Option<Point>,