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: Wed, 18 Oct 2017 09:08:52 -0700 Message-ID: References: <20170925101320.GA42266@breton.holly.idiocy.org> <20170925163301.GB45550@breton.holly.idiocy.org> <20171016100119.GA41757@breton.holly.idiocy.org> <20171016204631.GA44072@breton.holly.idiocy.org> <20171017085859.GA633@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 1508343051 19793 195.159.176.226 (18 Oct 2017 16:10:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 16:10:51 +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 Wed Oct 18 18:10:43 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 1e4qv6-0000kV-ND for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 18:10:12 +0200 Original-Received: from localhost ([::1]:45437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4qvA-0002Jd-SG for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 12:10:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4qv2-0002JW-2N for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 12:10:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4quw-00086p-D4 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 12:10:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39812) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4quw-00086f-98 for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 12:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4quw-00079R-0v for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 12:10: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: Wed, 18 Oct 2017 16:10:01 +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.150834294427409 (code B ref 28512); Wed, 18 Oct 2017 16:10:01 +0000 Original-Received: (at 28512) by debbugs.gnu.org; 18 Oct 2017 16:09:04 +0000 Original-Received: from localhost ([127.0.0.1]:48493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4qu0-000781-3m for submit@debbugs.gnu.org; Wed, 18 Oct 2017 12:09:04 -0400 Original-Received: from mail-qk0-f181.google.com ([209.85.220.181]:43203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4qtv-00077V-I1 for 28512@debbugs.gnu.org; Wed, 18 Oct 2017 12:09:00 -0400 Original-Received: by mail-qk0-f181.google.com with SMTP id w134so6883025qkb.0 for <28512@debbugs.gnu.org>; Wed, 18 Oct 2017 09:08:59 -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=Y5rI1MFa+amLJZ4fHo1IHOVd0XJZ8wIyRc8DS3aL5+Y=; b=FX30sQk776ZAGjHqSIFrjpgKfnTsDxIIOz3vugmliC7PeQX45bB0c2VKJqmceIX2eh VVCn9y1ETdtS2M6eEWfVCslFA/wQHcGxiYIdlIJyUXvyZnrpW0lKVRdkw9x13V4/caHE QGYIefKd8aaN/QGT/Bh/ewtb7kN5xBDKR0/kW64T9ex6aUB/T/SStADWAlxLUa3Yb91X uR6LyPLE++vy3E0vP10u6DAF3AoAXjeCrxTA8Qa48ZHpb5+AwBDlPvRgxNo3nwZrzDL3 qS5f1bymuRLGyv51wEYF89VnTuQzxV+qh9Hubxi+YgvqEg+g/XGLc3uXkk+SrtxyvQ7m lpLw== 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=Y5rI1MFa+amLJZ4fHo1IHOVd0XJZ8wIyRc8DS3aL5+Y=; b=hlHGHNSYy28H8F+qHI+wNm6f7V/s4OeEz/Bq2CC/990I4paykKpMZIHwLxw193GDsf rOrvmqcw7dsu4693kQ0YWNcMiaWsm479mZQ8x92QGCrDJ5Q/LwfQ266VaJgNmujvBmpD pwsQcOzDp6v+jDuuPsFQI9Uq5rGsf8krOQfVrdYrICfmcLlRYCs9w1+4CKP31IgMRSy6 rdjH3FG27N0BYsfoYGIJqHP0GSwZbmArK0dJkJzqIC4rd5Xogd1B4wmqtz/lNDKrYSjY XibmItmJfO9NcjWeaQpPy8iFgmW1QppKzSb9oyF7svmTEsIl/O7tijzDUJVLcdMNUgMT JVTA== X-Gm-Message-State: AMCzsaVK2sEKbJ4iiYORpsqV2HWauYnBkwLpgBho8uWM0S6e3Ir1u2vh jB6sxftmQWWCnqr/D1Hy8mABq087W3kx/r4lxTs= X-Google-Smtp-Source: ABhQp+QL6K92NOSZA61tidbO59gr+TFQQr7aVor8yeuUtUKI8dVukg4AqTw/a2poDgSDCFT/jcnhSYjLCSrn+Y43+RA= X-Received: by 10.55.75.15 with SMTP id y15mr2857619qka.321.1508342934084; Wed, 18 Oct 2017 09:08:54 -0700 (PDT) Original-Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Oct 2017 09:08:52 -0700 In-Reply-To: <20171017085859.GA633@breton.holly.idiocy.org> X-Mailer: Airmail (457) 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:138672 Archived-At: On October 17, 2017 at 1:59:03 AM, Alan Third (alan@idiocy.org(mailto:alan@idiocy.org)) wrote: > > I can resize the frame with set-frame-size when using only borderless > > and it does not break the mouse events. I can=E2=80=99t resize with the= mouse > > in this case, however and adding the resizable style back puts me > > right back in the broken situation. > > This is fine, we can live with this. > > When you create an undecorated frame you=E2=80=99ll just have to also set= the > frame parameter drag-internal-border to t. Resizing is a bit flickery, > but it should work as it=E2=80=99s being done through emacs lisp. I didn=E2=80=99t know about this. That said, it=E2=80=99s not ideal. I don= =E2=80=99t think I=E2=80=99d actually use it because it prevents other applications (like divvy/hammerspoon/etc) from resizing the frame. I do this w/ keyboard shortcuts all the time and losing that is a non-starter. It also doesn=E2=80=99t seem to allow diagonal resizing, which isn=E2=80=99t a huge= deal, but is unfortunate. If you=E2=80=99re up for coding it, I=E2=80=99d definitely be happy to test= out the recreate-the-frame option. > There are other things you can do, like making the title invisible and > turning off the buttons. I=E2=80=99ve not done much experimenting with it > since it doesn=E2=80=99t work on older macOS versions. It might be worth = my > while putting in the effort, though. He linked me to this article, which may help: http://robin.github.io/cocoa/mac/2016/03/28/title-bar-and-toolbar-showcase/ > I didn=E2=80=99t know that borderless windows were deprecated either. I d= on=E2=80=99t > remember seeing that mentioned in the documentation. Good to know > though. Yeah, I don=E2=80=99t know where he saw that. Aaron