GNU bug report logs - #62135
xterm.c: (x_set_offset)

Previous Next

Package: emacs;

Reported by: Madhu <enometh <at> meer.net>

Date: Sun, 12 Mar 2023 01:32:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Madhu <enometh <at> meer.net>
To: luangruo <at> yahoo.com
Cc: 62135 <at> debbugs.gnu.org
Subject: bug#62135: xterm.c: (x_set_offset)
Date: Mon, 01 Apr 2024 18:11:46 +0530 (IST)
[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?




This bug report was last modified 1 year and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.