Skip to content

fix: compensate for macOS frameless window shift down bug on restart#47

Merged
VariableThe merged 1 commit into
mainfrom
fix/macos-window-shift
Jun 23, 2026
Merged

fix: compensate for macOS frameless window shift down bug on restart#47
VariableThe merged 1 commit into
mainfrom
fix/macos-window-shift

Conversation

@VariableThe

Copy link
Copy Markdown
Owner

Fixes the 28px downward shift on restart for frameless windows on macOS. The tauri-plugin-window-state correctly saves the outer position, but when restoring frameless windows, macOS shifts it down by the height of a title bar. This intercepts the setup hook to apply a -28px Y offset immediately after the state loads.

@VariableThe VariableThe merged commit fe7e858 into main Jun 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant