OK... a longer answer ;-)
the moment you include (top . xxx) or (left . xxx) in the (default|init)-frame-alist the vales are taken as absolute values in the window manager's space, and Emacs will be placed (normally) somewhere in the display that is designated as 0 (the Linux laptop or MacBook Pro) independently of which display you were when you lunched Emacs.

Rechecked on GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-09-17

/PA

On Wed, 21 Sept 2022 at 07:08, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> wrote:
Nope...
/PA

On Wed, 21 Sept 2022 at 04:15, Po Lu <luangruo@yahoo.com> wrote:
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> That code works on GNOME and macOS

Don't the GNOME and Mac OS window managers do that automatically?


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet



--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet