-
Notifications
You must be signed in to change notification settings - Fork 801
gtk: apply initial appearance settings before presenting #5966
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
base: main
Are you sure you want to change the base?
Conversation
52bc223
to
1d64af7
Compare
Doesn't compile for me...
|
You need to install |
You need to install |
Still doesn't compile. The test run fails in the same place. |
I hacked around the compile issue with the alloc.dupe in DerivedConfig.init() but the window still draws with the default size before using the configured size. |
I could try to move it even earlier into the initialization process, but then I don't know if it'd help either. Might be just GTK being GTK. |
How about my idea in the discussion of starting the window minimized then unminimizing it after all setup is done? |
Can't you just hide the widget (window) and show it after everything is done? |
1d64af7
to
b4d65db
Compare
Fixes ghostty-org#5934 (only on the GTK side), ghostty-org#5960
b4d65db
to
4703fc7
Compare
Even after fixing the build issue with |
This PR was an attempt to fix your issue, but it's not just for your issue. You're free to use your own fix. |
Fixes #5934 (only on the GTK side), #5960