From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third 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 22:05:48 +0100 Message-ID: <20170924210548.GA31821@breton.holly.idiocy.org> References: <20170919213413.GA2032@breton.holly.idiocy.org> <20170923191144.GA6576@breton.holly.idiocy.org> <20170924112723.GB30865@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506287172 20833 195.159.176.226 (24 Sep 2017 21:06:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 21:06:12 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 28512@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 23:06:08 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 1dwE6I-00055p-SQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 23:06:07 +0200 Original-Received: from localhost ([::1]:39431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwE6Q-0002Qf-5Z for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 17:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwE6I-0002QE-VO for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:06:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwE6E-0004UL-HW for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47941) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwE6E-0004Tl-CF for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwE6E-0003la-2o for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 21:06: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.150628716114471 (code B ref 28512); Sun, 24 Sep 2017 21:06:02 +0000 Original-Received: (at 28512) by debbugs.gnu.org; 24 Sep 2017 21:06:01 +0000 Original-Received: from localhost ([127.0.0.1]:56622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwE6C-0003lK-SO for submit@debbugs.gnu.org; Sun, 24 Sep 2017 17:06:01 -0400 Original-Received: from mail-wr0-f174.google.com ([209.85.128.174]:46872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwE69-0003ks-4T for 28512@debbugs.gnu.org; Sun, 24 Sep 2017 17:05:57 -0400 Original-Received: by mail-wr0-f174.google.com with SMTP id o42so4736080wrb.3 for <28512@debbugs.gnu.org>; Sun, 24 Sep 2017 14:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=YfDDJbgOb1vdfIWc1YPJub/aovnUE4jaqrLkmpn4ZCg=; b=L9vWK4j5OCLs0KOzevgFzK2a7w4YX9Rs1gTWzXcLvgB3pJ9hJvBR2EExGonOqVliiq +7F0J3ZvxWHLTsw+IU8twUqIcXoeJ76U4aobErkx75WnLFuroxibkvIcVoPAsNo8OPG0 VzNHJJj+eZfD40SQLNMttXh3oBTHMINQpC+ETYVBGKG5Lq/L2WgyZlPiEH0yA2T3gGI2 31fhL5Dg140pialxOIkFbd1b7TaPsz6PBKFs0t2IyT/A106IguspYbAbK21KUbLs2Wb7 S89CGmxqtBkhz/Wj6LxcvQaKDSaAkthuXMfrcFmhNtzSQyDoSlz2nNuW2szKD787d+cL betg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=YfDDJbgOb1vdfIWc1YPJub/aovnUE4jaqrLkmpn4ZCg=; b=sAPeIFvc5J8+MR4mVAr73YT4SqiqhM35Uwqks5rVhK4WUlM3zIRZxJ2Lzx+fCh74lz 7Aw+Hb1ijwo4kMeL1kSjs5GYIbIR2G6kDknTAM/e4CUHyB+f1MM9WrWTOh+O+Ny0W3sj MDcyLZQcz41cIa5Pyf+eLFtUap3qo5xYwcGYBqCPEdpiXJqBHPdKzJwgZYhS836Dauo7 CdAF07kTj01Tg5BSy0XBTxNw/RXshZ9UaQX84gN+aHslGcdbFpmpqACTgl+w3XvI6dSc skrSLrXinfHpqLQ5HhAkLv1CCANseHlnvF4C8amddOl6lv57gi/u2LrjAZLgwySPeLUL 12Cw== X-Gm-Message-State: AHPjjUiawoX9BFOBkAoialxgiULuK/71hyEkrMacJvUgQwk/BgrEqSsf xvKfBdYzKWeBiq9msCGrWY4= X-Google-Smtp-Source: AOwi7QBsSb0L8B/zQeR87i4jnnuw1RyX/3mAW3Cc0mNMCX4NZw1hSXGaukVpAgK/a0+teYO+CeyCUg== X-Received: by 10.223.147.166 with SMTP id 35mr4951912wrp.90.1506287151523; Sun, 24 Sep 2017 14:05:51 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-b188-2706-1206-0eea.holly.idiocy.org. [2001:8b0:3f8:8129:b188:2706:1206:eea]) by smtp.gmail.com with ESMTPSA id m128sm5705127wmf.0.2017.09.24.14.05.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Sep 2017 14:05:50 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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:137368 Archived-At: On Sun, Sep 24, 2017 at 08:43:52AM -0700, Aaron Jensen wrote: > On September 24, 2017 at 4:27:27 AM, Alan Third > (alan@idiocy.org(mailto:alan@idiocy.org)) wrote: > > > I’ve had a look through the 10.13 release notes and the only thing > > that looks like it could be related is in the use of ’layers’, but I > > don’t think we’re using them… > > Yeah, I glanced it over too and didn’t see anything. I don’t know > enough about the macOS SDK to even know how a part of the window > wouldn’t be clickable. Normally a window with transparent sections will ignore mouse events in the transparent sections. Setting ignoresMouseEvents to NO should stop that from happening. This shouldn’t be our problem since the window isn’t transparent, but it’s the only thing I’ve come across that sounds like it. So, can you try putting [win setIgnoresMouseEvents:NO]; in initFrameFromEmacs in nsterm.m, somewhere around line 7222. It should be after ‘win’ is set, but doesn’t really matter too much where. > If it weren’t for iTerm2, I’d think that they somehow broke > borderless windows entirely, but iTerm2 seems to resize properly… Yeah, and similarly I’d expect to see some discussion online about it if it was an apple bug. It’s probably the way we’re doing something, our code can be a bit unusual at times. -- Alan Third