Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion v3/UNRELEASED_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Unreleased Changes

<!--
<!--
This file is used to collect changelog entries for the next v3-alpha release.
Add your changes under the appropriate sections below.

Expand All @@ -20,6 +20,7 @@ After processing, the content will be moved to the main changelog and this file

## Changed
<!-- Changes in existing functionality -->
- macOS: Use `visibleFrame` instead of `frame` for window centering to exclude menu bar and dock areas

## Fixed
<!-- Bug fixes -->
Expand All @@ -39,16 +40,20 @@ After processing, the content will be moved to the main changelog and this file
### Example Entries:

**Added:**

- Add support for custom window icons in application options
- Add new `SetWindowIcon()` method to runtime API (#1234)

**Changed:**

- Update minimum Go version requirement to 1.21
- Improve error messages for invalid configuration files

**Fixed:**

- Fix memory leak in event system during window close operations (#5678)
- Fix crash when using context menus on Linux with Wayland

**Security:**

- Update dependencies to address CVE-2024-12345 in third-party library
2 changes: 1 addition & 1 deletion v3/pkg/application/webview_window_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ void windowCenter(void* nsWindow) {
screen = [NSScreen mainScreen];
}

NSRect screenFrame = [screen frame];
NSRect screenFrame = [screen visibleFrame];
NSRect windowFrame = [window frame];

CGFloat x = screenFrame.origin.x + (screenFrame.size.width - windowFrame.size.width) / 2;
Expand Down
Loading