-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Fix initial window size on Wayland #829
base: master
Are you sure you want to change the base?
Conversation
I think a better fix would be to use the get_monitor_at_window instead of the primary one which is
(Though I have to say I don't know anything about the terminal codebase 😅) |
@leolost2605 I'll try it. I was assuming it was the |
The problem with using |
Substantial changes made since review
Where in GTK3 you can do resize (), in GTK4 setting default size after realizing will work so it can be done :) (I don't have an opinion here just want to say that it's possible :)) |
For no obvious reason the zoom overlay appears (blank) on startup in this branch whereas it does not in |
Zoom_overlay problem due to a change in timing/order of events. Now fixed. |
I am only really interested in fixing the Gtk3 version; the Gtk4 branch already has a different method of persisting window size that does not suffer from this problem. |
Fixes #762
NOTE:
Should be tested on OS8/Wayland, OS8/X as well as OS7.1