emacs-devel
[Top][All Lists]
Advanced

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

Re: How to restore the layout?


From: Juanma Barranquero
Subject: Re: How to restore the layout?
Date: Sun, 30 Jun 2013 20:03:58 +0200

On Sun, Jun 30, 2013 at 2:55 PM, martin rudalics <address@hidden> wrote:

> The workarea is much better for determining the rectangle within which
> our frames should appear.  I intended to make it available via an extra
> function but obviously Yamamoto's patch would be preferable.

Yes, understood.

> Wouldn't we get these via EnumDisplayDevices?

I'm not sure what kind of Lisp-level API are you envisioning. But my
comment was in reference to the fact that, on Windows, if you have
multiple displays of varying sizes, they are contiguous but the
visible area is not, generally speaking, a rectangle. There are gaps.

At this point, I'd be very grateful if people could explain what kind
of behavior are they suggesting with respect to frames that fall
wholly or partially outside a visible screen area. I mean, I don't
want to write (because I don't think that belongs into desktop.el) an
elisp window manager which will detect that the display size, or the
number of monitors, has changed, and that will try to resize the
frames to fit them like a puzzle in the current display. That's a case
whose failure mode IMHO should simply be to try and make sure that
frame captions (to allow grabbing and moving the frame) fall inside
their displays.

But perhaps other potential users have different expectations, and if
so, please comment them.

   Juanma



>
> martin



reply via email to

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