emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tabs


From: Eli Zaretskii
Subject: Re: Tabs
Date: Wed, 09 Oct 2019 15:36:06 +0300

> Date: Wed, 9 Oct 2019 14:05:34 +0200
> From: Ergus <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> 
> >diff --git a/src/xdisp.c b/src/xdisp.c
> >index 893ce92..f94f651 100644
> >--- a/src/xdisp.c
> >+++ b/src/xdisp.c
> >@@ -11796,7 +11796,7 @@ clear_garbaged_frames (void)
> >
> >       if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f))
> >         {
> >-          if (f->resized_p
> >+          if ((f->resized_p || f->tab_bar_resized)
> >               /* It makes no sense to redraw a non-selected TTY
> >                  frame, since that will actually clear the
> >                  selected frame, and might leave the selected
> 
> No, this does nothing

If you set a breakpoint in this fragment from clear_garbaged_frames:

          if (FRAME_VISIBLE_P (f) && FRAME_GARBAGED_P (f))
            {
              if ((f->resized_p || f->tab_bar_resized)
                  /* It makes no sense to redraw a non-selected TTY
                     frame, since that will actually clear the
                     selected frame, and might leave the selected
                     frame with corrupted display, if it happens not
                     to be marked garbaged.  */
                  && !(f != sf && (FRAME_TERMCAP_P (f) || FRAME_MSDOS_P (f))))
                redraw_frame (f);  <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
              else
                clear_current_matrices (f);

does the breakpoint fire after you type "C-x 6 f"?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]