* Run function when screen geometry changes
@ 2009-07-17 13:29 Barry Margolin
0 siblings, 0 replies; only message in thread
From: Barry Margolin @ 2009-07-17 13:29 UTC (permalink / raw)
To: help-gnu-emacs
In Carbon Emacs, is there a way to run a function when the display
geometry changes? I usually have my MacBook Pro connected to an
external display. When I disconnect the external, my Emacs frame
sometimes ends up off-screen. Most Mac applications automatically
detect this and relocate their windows onto the visible display, but
Emacs doesn't. I can write a command using set-frame-position, but it
would be nice if this could be run automatically, triggered by the
display geometry changing.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-07-17 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 13:29 Run function when screen geometry changes Barry Margolin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).