From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#16736: Compiling a Lisp file causes display to flash off and on Date: Tue, 18 Feb 2014 20:08:16 +0200 Message-ID: <83zjlo5m5r.fsf@gnu.org> References: <96vbwj696i.fsf@fencepost.gnu.org> <83lhxecftk.fsf@gnu.org> <2smwhurv74.fsf@fencepost.gnu.org> <83iosgbx6b.fsf@gnu.org> <83y51b9gdt.fsf@gnu.org> <0ssirio8re.fsf@fencepost.gnu.org> <83eh329v8a.fsf@gnu.org> <0nlhxa18t7.fsf@fencepost.gnu.org> <83wqgt924q.fsf@gnu.org> <5302377D.3070007@gmx.at> <83iosd8yzj.fsf@gnu.org> <530243FE.8050108@gmx.at> <83eh318xad.fsf@gnu.org> <53024DD2.2020900@gmx.at> <83bny58t58.fsf@gnu.org> <53033DD1.6050005@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1392746993 26136 80.91.229.3 (18 Feb 2014 18:09:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2014 18:09:53 +0000 (UTC) Cc: 16736@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 18 19:10:00 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 1WFp7F-0002qA-SR for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 19:09:57 +0100 Original-Received: from localhost ([::1]:52582 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFp7F-0000Gn-Du for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Feb 2014 13:09:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFp6S-0007gn-4L for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 13:09:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WFp6M-0001ek-U8 for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 13:09:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WFp6M-0001eg-QF for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 13:09:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WFp6M-0007Vx-Bd for bug-gnu-emacs@gnu.org; Tue, 18 Feb 2014 13:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Feb 2014 18:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16736 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16736-submit@debbugs.gnu.org id=B16736.139274689628804 (code B ref 16736); Tue, 18 Feb 2014 18:09:02 +0000 Original-Received: (at 16736) by debbugs.gnu.org; 18 Feb 2014 18:08:16 +0000 Original-Received: from localhost ([127.0.0.1]:58785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFp5b-0007UW-VL for submit@debbugs.gnu.org; Tue, 18 Feb 2014 13:08:16 -0500 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:50419) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WFp5Z-0007UG-E4 for 16736@debbugs.gnu.org; Tue, 18 Feb 2014 13:08:14 -0500 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N1700E00E2ED500@mtaout29.012.net.il> for 16736@debbugs.gnu.org; Tue, 18 Feb 2014 20:10:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N1700693EHOMJ20@mtaout29.012.net.il>; Tue, 18 Feb 2014 20:10:36 +0200 (IST) In-reply-to: <53033DD1.6050005@gmx.at> X-012-Sender: halo1@inter.net.il 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:85844 Archived-At: > Date: Tue, 18 Feb 2014 12:02:41 +0100 > From: martin rudalics > CC: rgm@gnu.org, 16736@debbugs.gnu.org > > > So the only important part here is setting FRAME_PIXEL_HEIGHT and > > other fields of the frame struct. > > > > widget.c is compiled only for X toolkits, right? So I think making > > update_various_frame_slots consistent with change_frame_size_1 when > > USE_X_TOOLKIT will fix the problem. > > I defined out the assignments in update_various_frame_slots. I saw no > other way because FRAME_PIXEL_HEIGHT inherently records the "old" > internal border width (that's all it does IIUC). When the border width > changes, the text height remains unaltered, and I see no alternate means > to detect the change and redraw the frame appropriately. Thanks. I see no problem with your changes.