From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly Date: Sun, 24 Sep 2017 17:39:05 -0700 Message-ID: References: <20170919213413.GA2032@breton.holly.idiocy.org> <20170923191144.GA6576@breton.holly.idiocy.org> <20170924112723.GB30865@breton.holly.idiocy.org> <20170924210548.GA31821@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1506300015 8869 195.159.176.226 (25 Sep 2017 00:40:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2017 00:40:15 +0000 (UTC) Cc: 28512@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 25 02:40:10 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 1dwHRR-0001mA-L0 for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Sep 2017 02:40:09 +0200 Original-Received: from localhost ([::1]:40121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwHRX-0001HW-Ce for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 20:40:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwHRP-0001GV-I4 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:40:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwHRK-0006K9-M0 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:40:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwHRK-0006K3-IE for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwHRK-00028x-BC for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 20:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Sep 2017 00:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28512 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28512-submit@debbugs.gnu.org id=B28512.15062999548177 (code B ref 28512); Mon, 25 Sep 2017 00:40:02 +0000 Original-Received: (at 28512) by debbugs.gnu.org; 25 Sep 2017 00:39:14 +0000 Original-Received: from localhost ([127.0.0.1]:56855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwHQY-00027o-EO for submit@debbugs.gnu.org; Sun, 24 Sep 2017 20:39:14 -0400 Original-Received: from mail-qt0-f180.google.com ([209.85.216.180]:50573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwHQW-00027Z-Os for 28512@debbugs.gnu.org; Sun, 24 Sep 2017 20:39:13 -0400 Original-Received: by mail-qt0-f180.google.com with SMTP id f15so5421454qtf.7 for <28512@debbugs.gnu.org>; Sun, 24 Sep 2017 17:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=HAXxg+i3cqPXWpi5m36FqwaKGlzE66QV9bDTF7cifJg=; b=MfZPy425CCum7v/SyjBgsr/ihZs7QgQo++a0zWeieQ4IYtdmdJ+NPz5Cf0c/eimVNm 1HBaCQfSDLOYitgUu/egp0UKP3kChhBRvR30C8asrvh4hhi00DyfdhtwWjHsZjp9KtMo x2cCi1+MvXO3+7w1zZrk0q2gw01dpme24UAd9WkdZ/NvC6Ntg1NpuV+9P0macu5dV3wd lg7XADiuA1sbm3HAoNG/DzFVqEIuBlCERDkv9DZYQHXUwhMO4T8CsljVJpASCKfjhzyj 3KeuMkKCsy6QFlqis52qGi93a6gGM0XIUWhmIclrzFq43mxhlcLh5pL3z6Zb/5jPHkqB 2kvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=HAXxg+i3cqPXWpi5m36FqwaKGlzE66QV9bDTF7cifJg=; b=CgZpmCI2/pO5ZC2wcmnICMD+TPYplbd5X//7gR4PcZs2bBJpNW99s/sX0MCj72avmx TPr/HFXNyqNOgRLqG6TXStFTWwA7rwCSZvYyk7PD+uPwBMFOc4m0rtcTik7DxgaHmFDM sK3AHTxjrVqxOFTVBU1in5ANTq5/wjtEp/3HWiLNtARmZ2mG1CZjOHvmIN1BgkZ9VCA2 9J6Hom128bD/hkJStyNLtpGzt3FX7imSLRhNqp2UJGy+Mol6goq0dA5XFZNrZdLiets/ We9Ko/8hOnMpDJzLRxJQjpywSgCrFMlVTNem+nhNPUr9lspYE0wnPhmx0mks42k3vlHL vFiQ== X-Gm-Message-State: AHPjjUj3G76lVniV/yP7wcjs00cAyOcr82xiHPG3OrTXbqeztd+8WgyJ l0dkNEJ2XoYBVsDHtINuRkbS2Q5yovw6Lx9S+MF3ig== X-Google-Smtp-Source: AOwi7QAx4KP1r9ZtyPdfZDF8EcWzMGaLdU63mFJsX5pO+DUOcnCUlZBjndeGpJ9BV+n9743ZQF1KkfpDyWuBTSTVcRU= X-Received: by 10.200.8.131 with SMTP id v3mr8346713qth.262.1506299947293; Sun, 24 Sep 2017 17:39:07 -0700 (PDT) Original-Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Sun, 24 Sep 2017 17:39:05 -0700 In-Reply-To: <20170924210548.GA31821@breton.holly.idiocy.org> X-Mailer: Airmail (442) 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:137382 Archived-At: On September 24, 2017 at 2:05:52 PM, Alan Third (alan@idiocy.org(mailto:alan@idiocy.org)) wrote: > On Sun, Sep 24, 2017 at 08:43:52AM -0700, Aaron Jensen wrote: > So, can you try putting > > [win setIgnoresMouseEvents:NO]; > > in initFrameFromEmacs in nsterm.m, somewhere around line 7222. It > should be after =E2=80=98win=E2=80=99 is set, but doesn=E2=80=99t really = matter too much > where. That didn=E2=80=99t help. > > If it weren=E2=80=99t for iTerm2, I=E2=80=99d think that they somehow b= roke > > borderless windows entirely, but iTerm2 seems to resize properly=E2=80= =A6 > > Yeah, and similarly I=E2=80=99d expect to see some discussion online abou= t it > if it was an apple bug. It=E2=80=99s probably the way we=E2=80=99re doing= something, > our code can be a bit unusual at times. I may have something. If the initial frame is created with undecorated set from the beginning, it works. Likewise if you create a new frame after: (add-to-list 'default-frame-alist '(undecorated . t)) So, the problem may have something to do with transitioning from a decorated frame to an undecorated frame. I remember seeing something in the iterm2 code about recreating windows in certain instances, but I don=E2=80=99t remember where I saw that. Aaron