[vim/vim] GTK4: Fix window getting smaller as UI elements are added/removed (PR #20388)

4 views
Skip to first unread message

Foxe Chen

unread,
May 30, 2026, 5:35:11 PM (2 days ago) May 30
to vim/vim, Subscribed

Fixes #20365. It looks like gtk_window_set_default_size() also includes any client side window decorations, so that must be accounted for. Before the GtkWindow size would be smaller than it should be in gui_mch_set_shellsize(), resulting in the number of rows in the drawarea decreasing each time.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20388

Commit Summary

  • 39e72b0 fix gtk4 window getting smaller as ui elements are added/removed

File Changes

(4 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20388@github.com>

Christian Brabandt

unread,
May 31, 2026, 4:09:33 PM (23 hours ago) May 31
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#20388)

thanks


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20388/c4587934766@github.com>

Reply all
Reply to author
Forward
0 new messages