From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Tabs Date: Wed, 9 Oct 2019 14:05:34 +0200 Message-ID: <20191009120534.ud6st2xvrv3rv6iy@Ergus> References: <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> <83wodeup6a.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="163445"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: michael_heerdegen@web.de, juri@linkov.net, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 09 19:49:21 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 1iIG5R-000gQS-6M for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 19:49:21 +0200 Original-Received: from localhost ([::1]:53280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIG5P-0005qr-39 for ged-emacs-devel@m.gmane.org; Wed, 09 Oct 2019 13:49:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38477) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iIAj8-0003RA-6D for emacs-devel@gnu.org; Wed, 09 Oct 2019 08:05:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iIAj2-0001Xc-Sc for emacs-devel@gnu.org; Wed, 09 Oct 2019 08:05:57 -0400 Original-Received: from sonic306-19.consmr.mail.ir2.yahoo.com ([77.238.176.205]:45966) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iIAj2-0001X5-0h for emacs-devel@gnu.org; Wed, 09 Oct 2019 08:05:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1570622750; bh=8reNzF7xbz7os/TSxpQA5NO3SIc2a2NCap5D+GPuuDA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=OROkZeD7vdcKNwgdhaxO8aDP/PudnGSVVgdTuJ19oNV1TlTOJQutjCUQ9uc9VvehWa26JhwBMES3Q0oQqQCymMj8OjXnV33gyOprYF7KK9DWwsrc+Bcb6zC30zLXrqKT9UNCeSrFTB7WmbFl3Tj30W7lsOlElxW+cqRBMCv1xtNNBNiA5AS6TBGQJeF9JRBTalCf3EQbqpdJShkRbEJjqYZlnYcCD3/noLvISh/qHk4WEXyvBbkbvnoYMMXSM6RiwMOExSdGgfZTghYys6j6PFlzW2TXD9KoKTpVrJWG4D7tZZYFl6rrAgomqdhOhmGtrDNxZOU8dUR+0pooEJQ3Pg== X-YMail-OSG: 0JK1kHoVM1lPXTurBhEYq1N423hqwt6rBpy6yM2o3kaC8zrLmJqnCcK1.kAVNis nCf_rkG7stzyHVomyfhPvuMofo.bAEqfrLRCye6pcfL6hF.WetjiDF5YxueuIEgV3O8.eLEyEb8p Wbf6ysSxJ2njK5QOdSvbRl4w6ZYVyLq4ZS.5ZWOWqUKuYeZMAqcZ.LdqBHdrWhumR6F4XE5VRy9B pDtXp2OCw3sCry0uox0SfVEkPInLttFm4rfC_Y9qJbcQrh0eA_oTdqCkDxAWFPt6.lyfnYtkrrti 0FafybiRk7RoQPv72raTtq2.9T6ahfSUEAcOG4K1hX4Ion0fzPTyPLZadbDqKiWxrz6aNbRu1b.3 56YxMFISMGWvvTm9FMfBcflIj2OpafUiljm3lvsgAFLyy9o8Ge9zdmS7k49oYX0rnCwGlOCqC3Ag w0i4LRqdGCTwqCwA7C1Uo3V46gixboYt_pkVZRgZJxJU9egoS3G1C.kkxElde5U6aZJpNh20kD7H PwR5U4iiYtxksvWzJSel0loAWi1O1JPLD5Oegjf5jl3BTbcr8F4AjQBWRT.9HMaK8jCQxIdFrdvW dHWueajULTW63BIj9HpKBpuRLvs59z8l9wkNggKIghnsPz8BbR.TWkeP_IZVd2iWz4RPSSxNcpyk z6nADTzHGmOPlN8V3MWcEEskxPYVBD.iMiHvxLt15vf3h6lCDp5JAKN84gO0ZASQv2wtc9rpIZjK 2S9zuaF472xS2ygUPDGPyuefB7427BVl6draQ3RpWGPFDmZSJvssE.gCAZ1tgK9yPtqzgQbUELZb .UV8Z5PsZSPq9mGW9pxXiUMj7OaOraIsKrRbjtG5tJ Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ir2.yahoo.com with HTTP; Wed, 9 Oct 2019 12:05:50 +0000 Original-Received: by smtp404.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID e356ae0c2cb0f7179877955ed697c9a9; Wed, 09 Oct 2019 12:05:47 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83wodeup6a.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.176.205 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:240772 Archived-At: On Wed, Oct 09, 2019 at 02:35:41PM +0300, Eli Zaretskii wrote: >> 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? > How? >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, actually after trying it a little bit more the other change the behavior is the same most of the cases. So, the previous change didn't fix/change anything :(.