From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: scratch/ns/refactor cc9dbaf 4/6: Fix macOS live resize drawing Date: Wed, 23 Jun 2021 15:05:32 +0100 Message-ID: References: <20210620155625.12886.44156@vcs0.savannah.gnu.org> <20210620155628.D095320B76@vcs0.savannah.gnu.org> <87czscso2l.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33946"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 23 16:06:57 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lw3Wq-0008dt-PB for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Jun 2021 16:06:56 +0200 Original-Received: from localhost ([::1]:44916 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lw3Wp-0007lo-PI for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Jun 2021 10:06:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw3Vf-0006a2-VI for emacs-devel@gnu.org; Wed, 23 Jun 2021 10:05:43 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:42527) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lw3Vd-0005ne-6H for emacs-devel@gnu.org; Wed, 23 Jun 2021 10:05:43 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id AC61D951; Wed, 23 Jun 2021 14:05:35 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1624457135; bh=tiWG3ARaXmaix0q487fLMUoqKSkbaP8RYVH4tnArATM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=geRaLT109xs329H602NpJ24g3VFYAYtI/wEaQO0fdad3tEmMmC7Nf2I7l7T0a2ieA crnv1QbF7jq2wPzK81nXS/jaopASRbjNbbXfzWHPT0udW6l43aSTa3ASG7aaFwzska wo5GcmosjzjpqSJh1DfJ6eW2pGLLEeagv41qF119zNEUkR6c/SdBxElFtj8iuTng+4 Dh8nG5q+nj5neplb00eLlG8JUN/agu5YRPI/k2P3LmDsuAvvVD39BSb2aVhXaWod91 VMB5RCbszVVWFqWtQ/ITfcDzfXSwkwEHtoWPNwgo3esjKk7R2c2fkLVg55be67e3ha ooX5zLJ0qXD+w== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.94.2) (envelope-from ) id 1lw3VU-000pcH-Ns; Wed, 23 Jun 2021 15:05:32 +0100 Mail-Followup-To: Alan Third , Robert Pluim , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87czscso2l.fsf@gmail.com> Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:270989 Archived-At: On Wed, Jun 23, 2021 at 03:33:22PM +0200, Robert Pluim wrote: > >>>>> On Sun, 20 Jun 2021 11:56:28 -0400 (EDT), alan@idiocy.org (Alan Third) said: > > Alan> branch: scratch/ns/refactor > Alan> commit cc9dbaf2e35fd5b8e5132e68ff459ab75012da45 > Alan> Author: Alan Third > Alan> Commit: Alan Third > > Alan> Fix macOS live resize drawing > > Hi Alan, I get a crash in redisplay when resizing my second frame > using the mouse. At eval.c:1805 'waiting_for_input' is true, so we > call emacs_abort > > Reverting this commit seems to fix it (my current test case is to > visit eval.c, go to line 1805, and then resize the frame). Hi Robert, can you try uncommenting the code in layoutSublayersOfLayer and see if that fixes it? -- Alan Third