bug#81193: 31.0.90; Wrong offsets in 'set-frame-size-and-position'

Sean Whitton <[email protected]> Thu, 06 Aug 2026 12:40:09 +0100
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
martin rudalics [06/Aug  9:35am +02] wrote:
>  >> Frame positioning per se is broken with the mutter window manager.
>  >
>  > More broken than it was in Emacs 30?
>
> It doesn't depend on the version of Emacs.  It seems to get more and
> more broken with every new release of mutter.  But I can't tell for sure
> because I have only an old version of mutter here and so far Dmitry was
> the only one to run a newer one.  Broken are AFAICT all functions to
> retrieve and set the positions of top-level frames.  In addition we have
> some strange resizing behavior where Emacs either comes up with or
> shrinks back to tiny frames.
>
> Since 'set-frame-size-and-position' was mainly conceived for child
> frames and it works there even on mutter, this is nothing to seriously
> worry about.  It certainly should not have any impact on the release
> process.  Besides, with PGTK Wayland there won't be any positioning of
> top-level frames from within Emacs by design.

Thanks, this clarifies.  ISTM that maybe we could close this bug, given
that fixing this seems to be mostly outside of our control?

-- 
Sean Whitton