[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs
From: |
Eli Zaretskii |
Subject: |
Re: Mouse-hovering over 'mouse-face' overlays/regions on a TTY Emacs |
Date: |
Tue, 01 Dec 2020 20:20:43 +0200 |
> Date: Mon, 30 Nov 2020 23:10:54 -0800
> From: Jared Finder <jared@finder.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
>
> I found the following two suspect lines that sound related, but it's
> unclear to me what they're for. Does anyone know what functionality
> they enable? (Note: I have some local changes, so my line numbers may
> be slightly off.)
>
> term.c:4253
> tty->mouse_highlight.mouse_face_window = Qnil;
>
> xdisp.c:20783
> gui_clear_window_mouse_face (w);
They are necessary parts of mouse-highlight implementation, and should
be indeed enabled in all builds nowadays.
> Additionally, it looks like set-mouse-position and
> set-mouse-pixel-position in frame.c does not behave consistently on TTYs
> if Emacs is compiled with window system support vs without.
You mean, if Emacs is compiled with X _and_ with GPM? Otherwise I
don't think I see the issue.