Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: setTitleBarStyle() restores window frame on Linux #323

Merged
merged 1 commit into from
Apr 14, 2023

Conversation

Merrit
Copy link
Contributor

@Merrit Merrit commented Apr 11, 2023

Currently on Linux using setAsFrameless can't be undone; with this change using setTitleBarStyle(TitleBarStyle.normal) will also restore the window frame.

Follows the same sort of resolution as #103

@Merrit
Copy link
Contributor Author

Merrit commented Apr 12, 2023

I wonder if it would be better to separate these completely, right now they are trying to do 2 things at once (titlebar/frame).

Maybe change setAsFrameless to showFrame(bool value)?

Simplifies, and resolves conflicts.

@damywise
Copy link
Contributor

I'm inclined to agree with this

@lijy91
Copy link
Member

lijy91 commented Apr 14, 2023

LGTM

@lijy91 lijy91 merged commit bdc426b into leanflutter:main Apr 14, 2023
obiwanzenobi pushed a commit to obiwanzenobi/window_manager that referenced this pull request May 25, 2023
@Merrit Merrit deleted the unset_frameless_linux branch March 3, 2024 17:58
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.

3 participants