[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

improving multi-monitor support in x11/carbon

From: Yuri D'Elia
Subject: improving multi-monitor support in x11/carbon
Date: Sun, 03 Feb 2008 20:14:40 +0100
User-agent: MT-NewsWatcher/3.5.2 (PPC Mac OS X)

Hi everyone. Currently emacs 21.x (and 22) lacks decent support for 
multi-monitors setups.

x-display-* functions simply return the whole viewable area which spans 
across several monitors. This breaks maximization and window 
positioning: the window will cover all monitors (and sometimes not 
correcly) and will not always position on the same monitor.

There has been some discussion already, here:


and here:


I fully agree with Yamamoto Mitsuharu here: a clear designed api is 

- there may be more than a single monitor
- placement and size may not be linear or constant
- the origin can be anywhere, not simply at +0+0
- viewable area may not be the the whole screen:
  - on mac there is a menu bar on the main monitor only
  - on windows there's the start panel, which may or may not occupy space

(and possibly other issues that I forgot).

Yet, the current behavior needs some fixing in order to be of any use. I 
think that x-display-* functions should return, for the time being, the 
size of the _current_ monitor, the one on which the current frame is 

Is that feasible?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]