unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* improving multi-monitor support in x11/carbon
@ 2008-02-03 19:14 Yuri D'Elia
  2008-02-04  2:40 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri D'Elia @ 2008-02-03 19:14 UTC (permalink / raw)
  To: emacs-devel

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:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-01/msg00165.html
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-02/msg00006.html 

and here:

http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-03/msg00412.html

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

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

Is that feasible?

Thanks





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

* Re: improving multi-monitor support in x11/carbon
  2008-02-03 19:14 improving multi-monitor support in x11/carbon Yuri D'Elia
@ 2008-02-04  2:40 ` Richard Stallman
  2008-02-04 15:00   ` Yuri D'Elia
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2008-02-04  2:40 UTC (permalink / raw)
  To: Yuri D'Elia; +Cc: emacs-devel

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

    - 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

It sounds like a good idea.  Would you like to implement it?




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

* Re: improving multi-monitor support in x11/carbon
  2008-02-04  2:40 ` Richard Stallman
@ 2008-02-04 15:00   ` Yuri D'Elia
  2008-02-05  1:24     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Yuri D'Elia @ 2008-02-04 15:00 UTC (permalink / raw)
  To: emacs-devel

In article <E1JLrG6-000681-Em@fencepost.gnu.org>,
 Richard Stallman <rms@gnu.org> wrote:

>     I fully agree with Yamamoto Mitsuharu here: a clear designed api is 
>     needed:
> 
>     - 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
> 
> It sounds like a good idea.  Would you like to implement it?

I don't think I will have enough time in the next months to implement it 
in a proper way. I would prefer for someone else to step in.

I may give a shot for fixing the actual behavior on carbon however, if 
the proposal I suggested would be accepted.





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

* Re: improving multi-monitor support in x11/carbon
  2008-02-04 15:00   ` Yuri D'Elia
@ 2008-02-05  1:24     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2008-02-05  1:24 UTC (permalink / raw)
  To: Yuri D'Elia; +Cc: emacs-devel

    I don't think I will have enough time in the next months to implement it 
    in a proper way. I would prefer for someone else to step in.

That's fine if someone wants to do it.




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

end of thread, other threads:[~2008-02-05  1:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 19:14 improving multi-monitor support in x11/carbon Yuri D'Elia
2008-02-04  2:40 ` Richard Stallman
2008-02-04 15:00   ` Yuri D'Elia
2008-02-05  1:24     ` Richard Stallman

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