diff options
| author | Karoly Lorentey | 2004-01-03 16:49:09 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-01-03 16:49:09 +0000 |
| commit | fa013bcef8a23770cec7a4bc0c5bfae665242399 (patch) | |
| tree | b88dbbbfc087264638d8562bb523f9f947bc75ba /src | |
| parent | 20274f2b75e370e8135017af1a93b5a286824f95 (diff) | |
| download | emacs-fa013bcef8a23770cec7a4bc0c5bfae665242399.tar.gz emacs-fa013bcef8a23770cec7a4bc0c5bfae665242399.zip | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c index 3b8ce346cad..f2262f3a216 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -1535,7 +1535,7 @@ and returns whatever that function returns. */) | |||
| 1535 | 1535 | ||
| 1536 | #ifdef HAVE_MOUSE | 1536 | #ifdef HAVE_MOUSE |
| 1537 | /* It's okay for the hook to refrain from storing anything. */ | 1537 | /* It's okay for the hook to refrain from storing anything. */ |
| 1538 | if (mouse_position_hook) | 1538 | if (!FRAME_TERMCAP_P (f) && mouse_position_hook) |
| 1539 | (*mouse_position_hook) (&f, -1, | 1539 | (*mouse_position_hook) (&f, -1, |
| 1540 | &lispy_dummy, &party_dummy, | 1540 | &lispy_dummy, &party_dummy, |
| 1541 | &x, &y, | 1541 | &x, &y, |