[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where is the frame resized after startup?
From: |
Eli Zaretskii |
Subject: |
Re: Where is the frame resized after startup? |
Date: |
Tue, 23 Jan 2007 06:08:10 +0200 |
> Date: Mon, 22 Jan 2007 23:20:40 +0100
> From: "Lennart Borgman (gmail)" <address@hidden>
> CC: address@hidden, address@hidden
> >
> > Assuming that window-setup-hook is not good for that, perhaps you can
> > explain why you need that hook to run after sizing of the initial
> > frame and no earlier.
>
> A very simple thing. I want to maximize the frame.
And why is window-setup-hook not good for that?
> > One idea to try is inside window-setup-hook put a function into
> > after-make-frame-functions. That function should do whatever you want
> > to do after initial frame is created, then remove itself from
> > after-make-frame-functions.
>
> Thanks, I have done that, but it does not work for the first frame. I
> add to the hook in a defcustom.
What do you mean by ``does not work''? Is the function called?
Also, I'm not quite clear about your usage of defcustom. Could you
show the code? Defcustoms have pitfalls.
- Where is the frame resized after startup?, Lennart Borgman, 2007/01/21
- Re: Where is the frame resized after startup?, Juanma Barranquero, 2007/01/21
- Re: Where is the frame resized after startup?, Lennart Borgman (gmail), 2007/01/21
- Re: Where is the frame resized after startup?, Lennart Borgman (gmail), 2007/01/21
- Re: Where is the frame resized after startup?, Eli Zaretskii, 2007/01/21
- Re: Where is the frame resized after startup?, Lennart Borgman (gmail), 2007/01/22
- Re: Where is the frame resized after startup?, Eli Zaretskii, 2007/01/22
- Re: Where is the frame resized after startup?, Lennart Borgman (gmail), 2007/01/22
- Re: Where is the frame resized after startup?,
Eli Zaretskii <=
- Re: Where is the frame resized after startup?, Lennart Borgman (gmail), 2007/01/23