Skip to content

fix: hot-reload window.decorations without restart#1684

Open
cantona wants to merge 2 commits into
raphamorim:mainfrom
cantona:fix/hot-reload-window-decorations
Open

fix: hot-reload window.decorations without restart#1684
cantona wants to merge 2 commits into
raphamorim:mainfrom
cantona:fix/hot-reload-window-decorations

Conversation

@cantona

@cantona cantona commented Jun 25, 2026

Copy link
Copy Markdown

configure_window() runs on every config reload and re-applies window settings (opacity, blur, transparency, title, corner preference, …) — but it never re-applied decorations, so toggling window.decorations only took effect at window creation and required a restart.

Add a set_decorations() call there, mirroring the build-time mapping (only Disabled turns server-side decorations off), so the setting hot-reloads live like the others.

Standalone, based on main.

cantona and others added 2 commits June 25, 2026 17:42
configure_window() (run on every config reload) re-applied opacity,
blur, title, etc. but never decorations, so toggling window.decorations
only took effect at window creation. Call set_decorations() there too so
it reloads live like the other window settings.
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