Subject: Re: bug#44961: 28.0.50; [feature/pgtk] frame-position returns incorrect information

From: Robert Pluim <[email-masked]>
Date: Mon, 21 Feb 2022 13:58:12 +0100

>>>>> On Mon, 21 Feb 2022 19:46:27 +0800, Po Lu <[email-masked]> said:

    Po> Po Lu <[email-masked]> writes:
    >> Could you tell the result with an undecorated frame?

    Po> Nevermind, it's there to trick programs which rely on coordinates to
    Po> determine tiling state to think that the window is not tiled at the top
    Po> left corner when it's not maximized (or otherwise tiled that way.)

    Po> Should we respect that information from GTK?  WDYT?

Respect which information from GTK? If reporting (0 . 0) for
undecorated and fullboth frames and a fixed value for decorated frames
works, then I see no problem with it (although I donʼt run pgtk as my
daily driver, so perhaps there are other issues). The frame
positioning portions of desktop.el and similar are doomed under
Wayland in any case.

Robert
--