You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add methods to get the position of a window's client area, relative to the desktop (#430)
* Add get_inner_position for windows, prototypes for other platforms
* Fix linux builds
* Implement get_inner_position for osx
* Add get_inner_pos implementations for other platforms
* Fixed get_inner_position on macOS
* Corrected set_position on macOS
* Added CHANGELOG entry
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,9 @@
10
10
- Properly calculate the minimum and maximum window size on Windows, including window decorations.
11
11
- Map more `MouseCursor` variants to cursor icons on Windows.
12
12
- Discard the stray mouse down event being delivered after window resize on macOS.
13
+
- Corrected `get_position` on macOS to return outer frame position, not content area position.
14
+
- Corrected `set_position` on macOS to set outer frame position, not content area position.
15
+
- Added `get_inner_position` method to `Window`, which gets the position of the window's client area. This is implemented on all applicable platforms (all desktop platforms other than Wayland, where this isn't possible).
0 commit comments