[PATCHv2 15/15] gdb/tui: fair split of delta after a resize
Tom Tromey
tom@tromey.com
Fri Mar 4 17:22:47 GMT 2022
>>>>> "Andrew" == Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> writes:
Andrew> Currently, in master gdb, when a tui window is changed in size, the
Andrew> screen delta is mostly just added to the next available window. We
Andrew> do take care to respect the min/max size, but in most cases, these
Andrew> limits are just "the terminal size", and so, we end up placing the
Andrew> whole delta on the next window.
This seems like a change that corresponds to the same change in the
patch to change how layouts are applied. That is, the resize-one-window
code and the layout-from-scratch code ought to agree algorithmically.
So maybe this should have been merged into that one -- though I'm not
really too picky about that kind of thing.
Tom
More information about the Gdb-patches
mailing list