From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: olaf <olaf.rogalsky@t-online.de>, 18638-done@debbugs.gnu.org
Subject: bug#18638: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm
Date: Thu, 09 Oct 2014 09:54:21 -0400 [thread overview]
Message-ID: <jwviojtfj3c.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <4p38az7vnp.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 07 Oct 2014 11:21:30 -0400")
>> Result: At the release of the mouse button the upper window will get a
>> hight of 3 lines, irrespective of the dragging amount.
> I see this in 24.3.94 but not 24.3, so it seems to be a new issue.
Indeed, the reason is that mouse.el now uses mouse-pixel-position
instead of mouse-position in mouse-drag-line, and xt-mouse.el uses
mouse-position-function to convince mouse-position to return useful info
in xterm frames, whereas there was no such hook for
mouse-pixel-position.
I installed a patch which fixes this by making mouse-pixel-position call
mouse-position-function as well. I think a better patch would be to
make mouse-drag-line use the event's own position info rather than calling
mouse-pixel-position, but the corresponding patch is a bit more
fiddly, so I'll keep it for after 24.4.
Stefan
next prev parent reply other threads:[~2014-10-09 13:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-05 20:49 bug#18638: 24.3.94; resizing of whindow by dragging the modeline does not work under xterm olaf
2014-10-07 15:21 ` Glenn Morris
2014-10-09 13:54 ` Stefan Monnier [this message]
2014-10-10 9:03 ` martin rudalics
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=jwviojtfj3c.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=18638-done@debbugs.gnu.org \
--cc=olaf.rogalsky@t-online.de \
--cc=rgm@gnu.org \
/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).