On Mon, Jun 08, 2026 at 11:16:45AM +0400, Marc-André Lureau wrote: > Add gd_vc_notebook_pos() which computes the correct notebook position > for a console by counting only non-detached (non-windowed) tabs before > it. Use it in gd_tab_window_close() so a re-attached tab is inserted > at its logical position rather than appended at the end. > > Signed-off-by: Marc-André Lureau <[email protected]> > --- > ui/gtk.c | 27 ++++++++++++++++++++++++--- > 1 file changed, 24 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> With regards, Daniel -- |: https://berrange.com ~~ https://hachyderm.io/@berrange :| |: https://libvirt.org ~~ https://entangle-photo.org :| |: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
