Chong Yidong <[EMAIL PROTECTED]> writes: > This patch fixes the bug. However, it's pure hackery since I'm not > familiar with the code at all. Can someone tell me if it makes sense > to do this?
It seems like you got the test wrong -- this looks more correct to me: if (NILP (tip_frame) !! frame != XFRAME (tip_frame)) remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); Does it still fix the bug with this change? If so, feel free to install the change with a suitable comment explaining why it is needed. > > *** emacs/src/xterm.c.~1.884.~ 2005-10-17 08:54:26.000000000 -0400 > --- emacs/src/xterm.c 2005-10-19 18:45:30.000000000 -0400 > *************** > *** 3609,3615 **** > last_mouse_scroll_bar = Qnil; > note_mouse_highlight (frame, event->x, event->y); > /* Remember which glyph we're now on. */ > ! remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); > return 1; > } > > --- 3609,3616 ---- > last_mouse_scroll_bar = Qnil; > note_mouse_highlight (frame, event->x, event->y); > /* Remember which glyph we're now on. */ > ! if (!NILP (tip_frame) && frame != XFRAME (tip_frame)) > ! remember_mouse_glyph (frame, event->x, event->y, &last_mouse_glyph); > return 1; > } -- Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel