From: Madhu <enometh@meer.net>
To: luangruo@yahoo.com
Cc: 62135@debbugs.gnu.org
Subject: bug#62135: xterm.c: (x_set_offset)
Date: Mon, 01 Apr 2024 18:11:46 +0530 (IST) [thread overview]
Message-ID: <20240401.181146.1996160877381275609.enometh@meer.net> (raw)
In-Reply-To: <20230325.195034.1474281229503255405.enometh@meer.net>
[I hope the context is available upthread on the debbugs]
I took another look at the problem with wayfire: The call to
XMoveWindow in x_set_offset is what's scuttling it.
XMoveWindow gets called with 0,0, wayfire thinks the window is
self-positioned, and refuses to further touch the co-ordinates.
I think that call to XMoveWindow should be protected by a conditional:
```
if (change_gravity != 0)
XMoveWindow (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f),
modified_left, modified_top);
```
so we avoid calling XMoveWindow even before the frame is mapped for
the first time. Right?
next prev parent reply other threads:[~2024-04-01 12:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-12 1:28 bug#62135: xterm.c: (x_set_offset) Madhu
2023-03-12 9:18 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-25 14:20 ` Madhu
2024-04-01 12:41 ` Madhu [this message]
2024-04-02 3:38 ` Madhu
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=20240401.181146.1996160877381275609.enometh@meer.net \
--to=enometh@meer.net \
--cc=62135@debbugs.gnu.org \
--cc=luangruo@yahoo.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).