mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 14:40:54 -08:00
Fix mouse-position for tty+X combo sessions.
frame.c (Fmouse_position): Don't call mouse_position_hook if the frame is a termcap frame. (Reported by Romain Francoise <romain@orebokech.com>.) git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-40
This commit is contained in:
parent
20274f2b75
commit
fa013bcef8
1 changed files with 1 additions and 1 deletions
|
|
@ -1535,7 +1535,7 @@ and returns whatever that function returns. */)
|
|||
|
||||
#ifdef HAVE_MOUSE
|
||||
/* It's okay for the hook to refrain from storing anything. */
|
||||
if (mouse_position_hook)
|
||||
if (!FRAME_TERMCAP_P (f) && mouse_position_hook)
|
||||
(*mouse_position_hook) (&f, -1,
|
||||
&lispy_dummy, &party_dummy,
|
||||
&x, &y,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue