From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27357: 26.0.50; Emacs starts fullscreen in Ubuntu 17.04 Date: Wed, 05 Jul 2017 22:12:01 +0200 Message-ID: <871spuk5im.fsf@mouse> References: <594143AB.7040500@gmx.at> <59423E58.8030606@gmx.at> <59425D45.1010006@gmx.at> <87a84ik6w6.fsf@mouse> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499285593 4380 195.159.176.226 (5 Jul 2017 20:13:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 5 Jul 2017 20:13:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 27357@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 05 22:13:09 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSqfa-0000lK-T7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 22:13:06 +0200 Original-Received: from localhost ([::1]:47915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSqfg-0000jN-8U for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Jul 2017 16:13:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSqfZ-0000jH-Qs for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 16:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSqfW-0008TT-Ml for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 16:13:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dSqfW-0008TP-JC for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 16:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dSqfW-0004ap-9o for bug-gnu-emacs@gnu.org; Wed, 05 Jul 2017 16:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Jul 2017 20:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27357 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27357-submit@debbugs.gnu.org id=B27357.149928552817594 (code B ref 27357); Wed, 05 Jul 2017 20:13:02 +0000 Original-Received: (at 27357) by debbugs.gnu.org; 5 Jul 2017 20:12:08 +0000 Original-Received: from localhost ([127.0.0.1]:53767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSqed-0004Zh-UU for submit@debbugs.gnu.org; Wed, 05 Jul 2017 16:12:08 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:41995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dSqed-0004Za-48 for 27357@debbugs.gnu.org; Wed, 05 Jul 2017 16:12:07 -0400 Original-Received: from cm-84.209.243.26.getinternet.no ([84.209.243.26] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dSqeX-0005Yf-SC; Wed, 05 Jul 2017 22:12:03 +0200 In-Reply-To: <87a84ik6w6.fsf@mouse> (Lars Ingebrigtsen's message of "Wed, 05 Jul 2017 21:42:17 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:134227 Archived-At: Oh, all this is inside Emacs. I thought it was part of the gtk stuff somehow. Anyway, this is from handle_one_xevent, and this is the first of these calls that expands the size (erroneously): if (!f && (f = any) && configureEvent.xconfigure.window == FRAME_X_WINDOW (f)) { block_input (); if (FRAME_X_DOUBLE_BUFFERED_P (f)) font_drop_xrender_surfaces (f); unblock_input (); xg_frame_resized (f, configureEvent.xconfigure.width, configureEvent.xconfigure.height); So something sets configureEvent.xconfigure.width... And this happens when the initial basic fonts are realised. The call sequence here isn't completely obvious. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no