unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Proposed function: x-display-usable-bounds
@ 2007-12-03  8:43 Adrian Robert
  2007-12-03  9:40 ` Jan Djärv
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Adrian Robert @ 2007-12-03  8:43 UTC (permalink / raw)
  To: emacs- devel

Hi,

On the Mac platform both the Carbon and Cocoa ports face the problem
of determining where on the display to place new frames.  For this it
is helpful not just to know the overall dimensions of the display
(x-display-pixel-width,height) but also the portion of the display
that is not obscured/reserved for the dock and menubar.  I assume this
issue comes up as well on Windows (task bar) and on X desktops such as
Gnome or KDE.

The Carbon port was defining its own function to return (top left
width height) for the usable screen area.  Since it seems relevant for
all platforms, it would seem appropriate to name this function with an
x- prefix, e.g., x-display-usable-bounds, and define it for all
platforms.  As a placeholder implementation, a list (0 0
x-display-pixel-width x-display-pixel-height) could be returned.  See
the thread below for the current Carbon and Cocoa implementations.

http://sourceforge.net/mailarchive/forum.php?thread_name=2CE05DE2-B276-4F80-918B-9C1A28DF169A%40gmail.com&forum_name=emacs-app-dev-

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-12-04 13:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-03  8:43 Proposed function: x-display-usable-bounds Adrian Robert
2007-12-03  9:40 ` Jan Djärv
2007-12-03 12:34   ` Adrian Robert
2007-12-03 14:36     ` YAMAMOTO Mitsuharu
2007-12-03  9:41 ` Andreas Schwab
2007-12-03 10:00   ` Jason Rumney
2007-12-03 14:56 ` Stefan Monnier
2007-12-04 11:10   ` Adrian Robert
2007-12-04 13:56     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).