From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#9366: Display geometry change hook Date: Wed, 23 Sep 2020 17:29:42 +0300 Message-ID: <83r1qsva5l.fsf@gnu.org> 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> <8515b084-fd76-20e5-7452-83cb85adce2e@gmx.at> <83v9g5x5et.fsf@gnu.org> <5ee29c56-8701-246e-fac5-1dc3c835325f@gmx.at> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7044"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 9366@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 23 16:32:40 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 1kL5p2-0001f5-4d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 16:32:40 +0200 Original-Received: from localhost ([::1]:51260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL5p1-0003Rf-69 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Sep 2020 10:32:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51310) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL5mV-00019o-G6 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 10:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kL5mV-0004kq-2B for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 10:30:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kL5mU-00061U-UL for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2020 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Sep 2020 14:30:02 +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.160087139123100 (code B ref 9366); Wed, 23 Sep 2020 14:30:02 +0000 Original-Received: (at 9366) by debbugs.gnu.org; 23 Sep 2020 14:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:37413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL5mJ-00060W-CZ for submit@debbugs.gnu.org; Wed, 23 Sep 2020 10:29:51 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44364) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kL5mI-00060G-4E for 9366@debbugs.gnu.org; Wed, 23 Sep 2020 10:29:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45407) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL5m9-0004f4-Tx; Wed, 23 Sep 2020 10:29:43 -0400 Original-Received: from [176.228.60.248] (port=1469 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kL5m2-0002N2-Eq; Wed, 23 Sep 2020 10:29:37 -0400 In-Reply-To: <5ee29c56-8701-246e-fac5-1dc3c835325f@gmx.at> (message from martin rudalics on Wed, 23 Sep 2020 09:15:16 +0200) 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:188783 Archived-At: > Cc: larsi@gnus.org, david@harpegolden.net, 9366@debbugs.gnu.org > From: martin rudalics > Date: Wed, 23 Sep 2020 09:15:16 +0200 > > > Do we use XRANDR to query the display geometry? > > If they are available, Emacs tries XRANDR first and, if that fails, > XINERAMA next. Then maybe the proposed method is not a big deal. But I'd like to understand the situation on macOS first -- is there an equivalent feature there? > > I didn't mean MS-Windows events (a.k.a. "messages"), I meant events in > > the Emacs event queue. A message coming from the window manager > > doesn't have to be converted to an Emacs event, it can be handled > > directly. > > You mean that we'd have to put a function running the hook into the > event queue when no input is allowed? Sorry, I don't think I understand this. Can you explain what you mean? > And running 'gui_set_fullscreen' OTOH can be handled directly? We already do that, no?