From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Wed, 09 Oct 2019 14:35:41 +0300 Message-ID: <83wodeup6a.fsf@gnu.org> References: <20191007192836.phg3nhjj56dz3ui2@Ergus> <83a7abznro.fsf@gnu.org> <20191008085604.tjtxm6ndyuluocbs@Ergus> <83lftvy4s6.fsf@gnu.org> <20191008160038.6xvnytnoruzphzd6@Ergus> <83zhibw6qn.fsf@gnu.org> <20191008164048.bnad4wdkcbatqepp@Ergus> <83v9szw4o4.fsf@gnu.org> <20191008234350.ahxt4zcylxqludoc@Ergus> <837e5ewc0a.fsf@gnu.org> <20191009103936.qjdwuidqnowswojw@Ergus> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="39282"; mail-complaints-to="usenet@blaine.gmane.org" Cc: michael_heerdegen@web.de, emacs-devel@gnu.org, juri@linkov.net To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 20:23:18 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iIGcE-000A27-Po for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 20:23:14 +0200 Original-Received: from localhost ([::1]:53778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIGcB-0001bO-Fc for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 14:23:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35104) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIAG8-0000IQ-Hm for emacs-devel@gnu.org; Wed, 09 Oct 2019 07:36:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iIAG7-0000Ui-Rn; Wed, 09 Oct 2019 07:35:59 -0400 Original-Received: from [176.228.60.248] (port=1574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iIAG7-0001Ts-7o; Wed, 09 Oct 2019 07:35:59 -0400 In-reply-to: <20191009103936.qjdwuidqnowswojw@Ergus> (message from Ergus on Wed, 9 Oct 2019 12:39:36 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:240777 Archived-At: > Date: Wed, 9 Oct 2019 12:39:36 +0200 > From: Ergus > Cc: michael_heerdegen@web.de, juri@linkov.net, emacs-devel@gnu.org > > >Does the change below fix this problem, per chance? > > > >diff --git a/src/xfns.c b/src/xfns.c > >index 20e63a2..f2264be 100644 > >--- a/src/xfns.c > >+++ b/src/xfns.c > >@@ -1660,6 +1660,8 @@ x_change_tab_bar_height (struct frame *f, int height) > > > > if ((height < old_height) && WINDOWP (f->tab_bar_window)) > > clear_glyph_matrix (XWINDOW (f->tab_bar_window)->current_matrix); > >+ else if (height > old_height) > >+ clear_current_matrices (f); > > > > /* Recalculate tabbar height. */ > > f->n_tab_bar_rows = 0; > > It solved partially the problem, which is good. > > 1) The tabs does not become visible automatically after C-x 6 f, and > C-TAB works as yesterday. > > 2) But when I leave the desk and return they become visible but this > time they are clickable. (unlike yesterday) What about the change below? If it still doesn't work, can you try disabling double-buffering? 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