[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there a way to control where frames get created?
From: |
Perry E. Metzger |
Subject: |
Re: Is there a way to control where frames get created? |
Date: |
Sun, 30 Sep 2018 14:35:34 -0400 |
On Sun, 30 Sep 2018 19:47:53 +0200 martin rudalics <address@hidden>
wrote:
> > Actually, it is _almost_ perfect. For some odd reason, the new
> > window ends up a few pixels lower than the old. I can fix this
> > with some subtraction but I'm puzzled why setting top to (cdr
> > (frame-position)) isn't quite doing the right thing.
>
> What are the values returned by 'frame-geometry' for the old and the
> new frame? Which window manager do you use? Which toolkit?
This is under MacOS/aqua:
First frame:
((outer-position 0 . 23) (outer-size 675 . 874) (external-border-size
0 . 0) (title-bar-size 0 . 22) (menu-bar-external) (menu-bar-size 0 .
0) (tool-bar-external) (tool-bar-position . top) (tool-bar-size 0 .
0) (internal-border-width . 2))
"New" frame:
((outer-position 690 . 25) (outer-size 675 . 874)
(external-border-size 0 . 0) (title-bar-size 0 . 22)
(menu-bar-external) (menu-bar-size 0 . 0) (tool-bar-external)
(tool-bar-position . top) (tool-bar-size 0 . 0)
(internal-border-width . 2))
So it's two pixels different. Peculiar, eh?
Perry
--
Perry E. Metzger address@hidden
- RE: Is there a way to control where frames get created?, (continued)
Re: Is there a way to control where frames get created?, Michael Heerdegen, 2018/09/30