From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16348: 24.3.50; Increasing internal-border-width cuts menubar and toolbar on non-toolkit builds Date: Sun, 05 Jan 2014 17:48:59 +0100 Message-ID: <52C98CFB.4020809@gmx.at> References: <52C9363A.9050008@gmx.at> <83wqietmef.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1388940617 7123 80.91.229.3 (5 Jan 2014 16:50:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Jan 2014 16:50:17 +0000 (UTC) Cc: 16348@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 05 17:50:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vzqu5-0000RD-8O for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 17:50:21 +0100 Original-Received: from localhost ([::1]:58500 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzqu4-0007lM-TX for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Jan 2014 11:50:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzqtw-0007kG-1H for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 11:50:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzqtn-0001zm-7j for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 11:50:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzqtn-0001xq-4c for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 11:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vzqtm-0001ib-DF for bug-gnu-emacs@gnu.org; Sun, 05 Jan 2014 11:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Jan 2014 16:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16348 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16348-submit@debbugs.gnu.org id=B16348.13889405516529 (code B ref 16348); Sun, 05 Jan 2014 16:50:02 +0000 Original-Received: (at 16348) by debbugs.gnu.org; 5 Jan 2014 16:49:11 +0000 Original-Received: from localhost ([127.0.0.1]:36410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzqsw-0001hF-4i for submit@debbugs.gnu.org; Sun, 05 Jan 2014 11:49:10 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56992) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vzqst-0001h4-UM for 16348@debbugs.gnu.org; Sun, 05 Jan 2014 11:49:08 -0500 Original-Received: from [62.47.55.195] ([62.47.55.195]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0MEFlg-1WAtWE3Bk0-00FTtJ for <16348@debbugs.gnu.org>; Sun, 05 Jan 2014 17:49:06 +0100 In-Reply-To: <83wqietmef.fsf@gnu.org> X-Provags-ID: V03:K0:3jyQWaiBQav1xyNQVQkmLewaP2hRqw1RmCYpPK87lAJt+XlOof/ Djil1wH8oFIrsMFVAavD9IWTmUD0IAg7gtIefs+ULlW4vtdQzHi4hAuHJVnFyaaML/0LX+9 GsuV4l41fSLeD7Cmu4bUWz2F1jHDHxH5A/wA4Pg/pfwHf6aUAd/SwbpAYe44KwApjBb0GDl jPm+YEJ1MjMGzOflxyPCw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83004 Archived-At: >> What we needed here is some simple switch we can set and which causes >> the redisplay engine to do a through redisplay instead of trying to be >> clever and selectively clear/erase some space formerly occupied by a >> scrollbar, fringe or border. > > I believe what you want is to reset the enabled_p flag of each glyph > row in the current glyph matrix. But since each window in a GUI > session has its own glyph matrix, you will need to do that for every > window on the current frame. > > (Maybe there's a variable that has the same effect, I didn't check.) I'm not sure whether that would suffice. Currently emacs does all sorts of erasing and redrawing backgrounds of scrollbars, fringes, borders and the like. In many cases, it doesn't get that right. The only practical solution I usually see is to resize the frame to some other size and size it back. I doubt that this is the same as resetting the enabled_p flags. martin