unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 67753@debbugs.gnu.org, soliidne@gmail.com
Subject: bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters
Date: Sat, 20 Jan 2024 17:36:58 +0800	[thread overview]
Message-ID: <87bk9guz0l.fsf@yahoo.com> (raw)
In-Reply-To: <83o7dgtlpu.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 20 Jan 2024 11:09:33 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> Po Lu, any comments or suggestions on this matter?
>
>> From: soliidne@gmail.com
>> Date: Wed, 10 Jan 2024 12:25:19 +0200
>> Cc: Po Lu <luangruo@yahoo.com>, 67753@debbugs.gnu.org
>> 
>> Hi !
>> 
>> Probable bug in void xfns.c → x_real_pos_and_offsets interpreting _NET_FRAME_EXTENTS set in
>> Application Window Properties by WM.
>> 
>> Current visible Emacs frame parameters:
>> 
>> _NET_FRAME_EXTENTS(CARDINAL) = 5, 5, 29, 5
>> 
>> That means these are Emacs frame border and frame title thicknesses.
>> 
>> The Window Manager MUST set _NET_FRAME_EXTENTS to the extents of the window's frame.
>> left, right, top and bottom are widths of the respective borders added by the Window Manager.

Would you please elaborate on the nature of the bug you perceive?  I get
the impression that you're referring to x_real_pos_and_offsets's
consulting this property in itself, but that is no bug, since the
offsets are not returned as the frame's left and top coordinates, but
are subtracted from its position relative to the root window as
determined from calls to XTranslateCoordinates and XGetGeometry instead.

Unfortunately there is a backlog of X window management related issues I
cannot investigate at the moment, so any input would be appreciated, or
rather, more so than in the past.

Thanks.





      reply	other threads:[~2024-01-20  9:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-10 17:45 bug#67753: 28.2, 29.1: Making frame invisible always affects frame position parameters soliidne
2023-12-16 12:07 ` Eli Zaretskii
2023-12-16 12:18   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-12-16 12:53     ` soliidne
2023-12-23  9:05       ` Eli Zaretskii
2024-01-09 19:58         ` Eli Zaretskii
2024-01-10 10:25           ` soliidne
2024-01-20  9:09             ` Eli Zaretskii
2024-01-20  9:36               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bk9guz0l.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=67753@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=soliidne@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).