unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ulrich Neumerkel <ulrich@complang.tuwien.ac.at>
To: rgm@gnu.org, rudalics@gmx.at
Cc: ulrich@complang.tuwien.ac.at, emacs-devel@gnu.org
Subject: Re: "Position Parameters" in lispref/frames.texi
Date: Tue, 22 Jan 2008 06:50:41 +0100	[thread overview]
Message-ID: <E1JHC1x-0004Gk-AF@a4.complang.tuwien.ac.at> (raw)
In-Reply-To: <479466BD.9090603@gmx.at>

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;

  reply	other threads:[~2008-01-22  5:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21  2:32 "Position Parameters" in lispref/frames.texi Glenn Morris
2008-01-21  2:44 ` Glenn Morris
2008-01-21  9:32   ` martin rudalics
2008-01-22  5:50     ` Ulrich Neumerkel [this message]
2008-01-22  6:34       ` Glenn Morris
2008-01-22  6:37         ` Ulrich Neumerkel
2008-01-22 11:30     ` Richard Stallman
2008-01-21 20:30   ` Richard Stallman
2008-01-21 20:30 ` Richard Stallman

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=E1JHC1x-0004Gk-AF@a4.complang.tuwien.ac.at \
    --to=ulrich@complang.tuwien.ac.at \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@gnu.org \
    --cc=rudalics@gmx.at \
    /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).