GNU bug report logs - #9366
Display geometry change hook

Previous Next

Package: emacs;

Reported by: David De La Harpe Golden <david <at> harpegolden.net>

Date: Thu, 25 Aug 2011 05:20:02 UTC

Severity: wishlist

Full log


Message #53 received at 9366 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, 9366 <at> debbugs.gnu.org, david <at> harpegolden.net
Subject: Re: bug#9366: Display geometry change hook
Date: Wed, 23 Sep 2020 09:15:16 +0200
>> Has anyone ever confirmed that it correctly handles the full-screen
>> frames?
>
> I don't know.  I don't have a system to try that.

Maybe someone on Windows could give it a try:

(1) With an Emacs frame run 'toggle-frame-fullscreen' (F11).

(2) Change the resolution of the monitor the frame appears on.

(3) Look whether the frame is still fullscreen.

> Do we use XRANDR to query the display geometry?

If they are available, Emacs tries XRANDR first and, if that fails,
XINERAMA next.

> 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?  And running 'gui_set_fullscreen'
OTOH can be handled directly?

martin




This bug report was last modified 4 years and 265 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.