emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs geometry


From: Ralf Angeli
Subject: Re: Emacs geometry
Date: Thu, 27 Jul 2006 23:58:47 +0200

* Eli Zaretskii (2006-07-25) writes:

>> Date: Tue, 25 Jul 2006 22:58:48 +0300
>> From: Eli Zaretskii <address@hidden>
>> Cc: address@hidden
>> 
>> The trick is to [...] call w32_get_arg to look up left and top in
>> initial-frame-alist
>
> Sorry, this part was bad advice: you cannot look up left and top in
> initial-frame-alist,

Hm, couldn't one get the value from the Lisp level?

> you should instead honor f->left_pos and
> f->top_pos, if they were set from initial-frame-alist.  The problem is
> to decide correctly when to honor them.

One could probably use the
  if (!hprevinst)
test in w32_createwindow in order to decide if it's the first frame to
be created, but how can one decide if there are values for `top' and
`left' which are only relevant for the first frame?  That's where
`initial-frame-alist' would really come in handy.  I guess I'll need a
little bit more time for this.

-- 
Ralf





reply via email to

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