emacs-devel
[Top][All Lists]
Advanced

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

Re: make-frame-command with multiple munitors


From: Christopher Dimech
Subject: Re: make-frame-command with multiple munitors
Date: Mon, 19 Sep 2022 15:21:11 +0200

> Sent: Tuesday, September 20, 2022 at 12:28 AM
> From: "Po Lu" <luangruo@yahoo.com>
> To: "Pascal Quesseveur" <pquessev@gmail.com>
> Cc: emacs-devel@gnu.org, juri@linkov.net
> Subject: Re: make-frame-command with multiple munitors
>
> Pascal Quesseveur <pquessev@gmail.com> writes:
>
> > I imagine there's a reason make-frame-on-current-monitor didn't
> > outright replace make-frame (personally it seems more normal to me to
> > always open a new frame on the current monitor, but I can imagine
> > that this is not the general case.)
>
> Because opening a frame on the right monitor is the job of the window
> manager, not Emacs.

Emacs has the capability of placing a frame at some position.  It is then
logical for emacs to look into the monitor configuration to determine the
current monitor (then placing at corners or center oy monitor).  It would
a feature very much appreciated if made to happen.

> Notice how make-frame-on-current-monitor always sets the "user specified
> position" flag in the window manager hints property.  The window manager
> will then blindly obey the initial position (0, 0 from the origin of the
> monitor) instead of placing the window in the right monitor while also
> taking into account window placement constraints and policy.

>



reply via email to

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