From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#9366: Display geometry change hook Date: Tue, 22 Sep 2020 09:16:58 +0200 Message-ID: <8515b084-fd76-20e5-7452-83cb85adce2e@gmx.at> References: <4E55DACA.6080401@harpegolden.net> <87363dpyz3.fsf@gnus.org> <838sd53h9c.fsf@gnu.org> <0984dc8a-220f-c461-3888-435c4046f803@gmx.at> <837dso25el.fsf@gnu.org> <1a7ac173-93b7-292a-3dc0-05c68c5be414@gmx.at> <83tuvszjs0.fsf@gnu.org> <5d5c2107-f7bf-62b1-85af-4acac89c7ce6@gmx.at> <83sgbbxlbd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4304"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 9366@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 22 09:18:32 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kKcZL-0000yo-U8 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Sep 2020 09:18:31 +0200 Original-Received: from localhost ([::1]:34102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKcZK-0001CN-Lt for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 22 Sep 2020 03:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKcYs-0001C6-3F for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 03:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKcYr-0006o7-Pc for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 03:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKcYr-0000kV-Ka for bug-gnu-emacs@gnu.org; Tue, 22 Sep 2020 03:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Sep 2020 07:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9366 X-GNU-PR-Package: emacs Original-Received: via spool by 9366-submit@debbugs.gnu.org id=B9366.16007590362821 (code B ref 9366); Tue, 22 Sep 2020 07:18:01 +0000 Original-Received: (at 9366) by debbugs.gnu.org; 22 Sep 2020 07:17:16 +0000 Original-Received: from localhost ([127.0.0.1]:57015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKcY8-0000jQ-Eo for submit@debbugs.gnu.org; Tue, 22 Sep 2020 03:17:16 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:53797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKcY4-0000iu-0K for 9366@debbugs.gnu.org; Tue, 22 Sep 2020 03:17:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600759021; bh=iU7v5vGGWQbrSK0W6JzoAnZ5FTh/m5cCoPpfnAXppQ4=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=NuMu+iSpRAqrNGor0a6AtybNTWknaOEHimbxa2r/eEnQvttecwL63PUEyOgfKPW8b HbzBJKFNvxfifk5HP2Fsqwt6bTlbNj5vRdnQKwC33anwntrvzt63VFbqhuMob1VJPj yNoMKFXFugZpUbvqowqRi4q4eZkqR6F2B2dXLev4= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([46.125.249.27]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MYNJq-1jzE2Z25II-00VTHg; Tue, 22 Sep 2020 09:17:01 +0200 In-Reply-To: <83sgbbxlbd.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:y7wga9UGtDapG0SAqPZPa7W/+72NSOreQvMDlSsR3dy7TsJwLcb Gfx7S9tInp1d19WaPa3fLQ4VU9u8bbLJKzMm57AwIK/LPncftX5TBrHc8ZmJcN7gf46Cr7E toDEXXj4fmHZ9DeACnkPGrgExjkNCsgt4N6Ljuz7LzxhR6DamU8pivr63rJqyYByjvbHXMG Ws0NFqxyJEKAF8uvwQlwQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:x1LxMBlFxPA=:bjEr2/O1TodpJwHvqvDy+B iJpW8pouq0pRxrx17gn6mRntlo2NQ529eBF7JiOQPivWbiYdmy6tr2onJ5evJvCpQD00lB9A7 X1L4PgMiMrRJn0+VJsAx+Zmvhc5cj81updF/5iQDOEjYZTnUpYZKI4n6qVsupn04qjsa1bloE K2HdUv0YH4l5F/R0t2y2uM+2PE//3abmmJqjeNMX63CBOo8Fcwl1lAAc+qU8PnxOCcEc6Jbvr RGQF+86HZotQj+Jswm9eK5mfn9fuXQI70cKeP9VHEg7B8O5etS5P9DcUDPI9cZAEadl6bae4u a75n6HomRLJePA11KKWt9993D2UIPRn/TV5EpoWnJ94AMBMTiUcnvHecMpCVnNxBPLq9+d/86 VJpOn1142lEhYGUcQkw2fZCxPM1sBelGudDyeQDmaZ7N6Xi8QFiJlyTxYZbUbsNGq7Nnm4gyR Otvtf16woTdJ45IZhf1EcxIZKOXYL+EiaHAJm+HojaU6ye94Hm4EFxwJ8B9Q3sXC2ZVrU6vmt bkcT5XoCGzxCHauWeXrwNTQvmS26WMWclo1RERUi13TKKfSIC1FpYH+trPNiQdx66S0V29sAe gin1zIGm4L8G/i6AgR8fqaHOp2Y1DwtDU0GIFUm22g7dTLw8O+puFWeoxN6NztcHcM4bHfnHV DRWgqWhYNaXEJ92RPSP0qu6ZWxvFNAMh2qrv87TvtZIIXUu5r8yZAHfsKx7u13gRmhaodj1Ai jSnehK1Fz6UjeDyFzQqsgGO9xsD1gdypPbgfvWrjSv1wzaGqXxZ0R3jdGfp+rnuk1FucGSZs X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188664 Archived-At: > Yes, I know about WM_DISPLAYCHANGE (although we currently only handle > the full-screen frames there). Has anyone ever confirmed that it correctly handles the full-screen frames? > But the corresponding X feature > requires the use of a special X module, and I don't know what happens > on macOS. So I thought a platform-independent method that always > works, and can be implemented in just one place, is a better > alternative. But such a platform-independent method on X would boil down to using the same special X module as the platform-dependent method. That is, we would try running XRANDR in either case ... I don't know about macOS. > Besides, adding one more special event comes with minor disadvantages > of its own -- one more event to disregard in situations like > while-no-input etc. But at least on Windows we have to pay attention to such events anyway. martin