Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion bug#9366: Display geometry change hook
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David De La Harpe Golden  
View profile  
 More options Aug 25 2011, 1:16 am
Newsgroups: gnu.emacs.bug
From: David De La Harpe Golden <da...@harpegolden.net>
Date: Thu, 25 Aug 2011 06:16:58 +0100
Local: Thurs, Aug 25 2011 1:16 am
Subject: bug#9366: Display geometry change hook

Severity: wishlist

Raised by Edward O'Connor in emacs-devel thread [1], filing in
bugtracker so it doesn't get lost over the feature freeze period.

Emacs doesn't appear to currently provide a hook that is reliably called
when the _display_ geometry changes on graphical window systems. e.g.
screen resolution changed by user, monitor hotplugging.

Emacs frame/window geometry might sometimes be considered to remain the
same by the window system terms despite changing overall display
geometry, so e.g. window-configuration-change-hook is not always run
when the display geometry changes.

Attached is an initial x11-only stab at an implementation that calls
window-configuration-change-hook when display geometry changes, though a
separate hook would be another design option.

For ns, Edward also mentioned:

"On GNUStep and Mac OS X, applications can listen for
NSApplicationDidChangeScreenParametersNotification for this sort of thing"

Dunno about w32 as yet, but presumably it has something similar.

[1] http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00544.html
From: "Edward O'Connor" <...>
Date: Fri, 12 Aug 2011 10:51:25 -0700
Message-ID:
<CAME3nGLnjLXixmSY45BWFX6qtCp2_XBR4x6a281hO6Mu=rn...@mail.gmail.com>
Subject: is there a hook run when display geometry changes?

  xrandr_monitoring_r1.diff
9K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.