[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fixing frame positioning
From: |
Mike Kupfer |
Subject: |
Re: Fixing frame positioning |
Date: |
Wed, 23 Apr 2025 18:16:37 -0700 |
martin rudalics wrote:
> > Here's C-x 5 l. The xclock is sized at 100x100.
>
> IIUC you moved the clock there after C-x 5 l and then did C-x 5 i.
Probably; I don't remember for sure. After reading your comment, I
reran the test twice, once with the clock positioned before the 'C-x 5
l' and once after. The results are essentially the same, at least with
i3.
> So both Mate and Openbox do that down/right movement in all cases and
> here I get an up/left movement in all cases. If you still have some
> time left, please try a child frame with a tool bar - that is in
> frame-positions.el use
>
> (defvar parameters `((parent-frame . ,(selected-frame))
> (width . 30) (height . 20)
> (tool-bar-lines . 1) (menu-bar-lines . 0) (minibuffer .
> nil)
> (drag-internal-border . t) (drag-with-header-line . t)
> (drag-with-mode-line . t)
> (internal-border-width . 2) (border-width . 0)
> (background-color . "yellow")))
>
> and just tell me whether the child frame is still moved down/right after
> C-x 5 i as before. I attach my screenshots for C-x 5 b and C-x 5 i too.
Mostly, yes, down/right, even with the child having a toolbar. (The
parent still does not have a toolbar.)
The first time I tried 'C-x 5 b C-x 5 i' with i3, the child moved
up/right. But with subsequent trials I got down/right.
BTW, I noticed from your screenshots that you're using the "3D"
scrollbar, whereas I'm using the ancient flat Athena scrollbar. I don't
know if that makes any difference in the results we're seeing.
cheers,
mike