[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Position Parameters" in lispref/frames.texi
From: |
Ulrich Neumerkel |
Subject: |
Re: "Position Parameters" in lispref/frames.texi |
Date: |
Tue, 22 Jan 2008 06:50:41 +0100 |
This is only a very superficial comparison. I compared the current
version (git clone git://git.sv.gnu.org/emacs.git) with the official
21.4 (i.e. 21.4a).
In x_calc_absolute_position the flag is 0x13 in place of 0x3. (If the
flag is set there manually, emacs behaves correctly). I traced it
backwards towards x_set_offset. Here the change_gravity condition is
executed in the current emacs, but not in 21.4. I simply redid
the comparison below. This works now under the following
configurations:
failsafe
qvwm 1.1.12 (Senzoku) [built into IGEL-XTerms]
KDE 2.1.1
However, at startup my geometries Emacs.geometry: 101x39+-6+0 are
still ignored, but this has been the case since some time...
(the last time it worked is 20.7).
diff --git a/src/xterm.c b/src/xterm.c
index 574c398..42b2ac0 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -8366,7 +8366,7 @@ x_set_offset (f, xoff, yoff, change_gravity)
{
int modified_top, modified_left;
- if (change_gravity != 0)
+ if (change_gravity > 0)
{
FRAME_X_OUTPUT (f)->left_before_move = f->left_pos;
FRAME_X_OUTPUT (f)->top_before_move = f->top_pos;
Re: "Position Parameters" in lispref/frames.texi, Richard Stallman, 2008/01/21