]> git.eshelyaron.com Git - emacs.git/commit
On GTK do not inhibit implied resizing until tool bar was drawn (Bug#74750)
authorMartin Rudalics <rudalics@gmx.at>
Fri, 20 Dec 2024 15:25:44 +0000 (16:25 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 15:18:40 +0000 (16:18 +0100)
commit3b4ea7f7d74556f8b868e162be6ded1c700ba160
tree77c0cc52caa2e4624d4cbf8f203b2427b4ab996c
parent9f47c84aaa373024357b1bc70d749e345c59ffe5
On GTK do not inhibit implied resizing until tool bar was drawn (Bug#74750)

* src/frame.c (frame_inhibit_resize): Under GTK do not inhibit
implied resizing as long as the tool bar has not been drawn yet
so the frame gets its intended initial height (Bug#74750).
* src/gtkutil.c (update_frame_tool_bar): Set tool_bar_resized
slot of frame f to true regardless of whether a tool bar was
made or not.  This will make inhibiting implied resizes work
again from now on.

(cherry picked from commit dbf22fd0d050423e5ed727923399099bba7d3dc2)
src/frame.c
src/gtkutil.c