GNU bug report logs - #75931
31.0.50; mouse-face and pointer properties make pointer change back and forth

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Wed, 29 Jan 2025 18:23:01 UTC

Severity: normal

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 75931 <at> debbugs.gnu.org
Subject: bug#75931: 31.0.50; mouse-face and pointer properties make pointer change back and forth
Date: Wed, 29 Jan 2025 20:30:05 -0300
On 29/1/25 16:11, Eli Zaretskii wrote:
>> Date: Wed, 29 Jan 2025 15:27:24 -0300
>> From: Mauro Aranda <maurooaranda <at> gmail.com>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>
>>
>> I bisected it down to this commit:
>>
>> commit 64f9fdc812bb2e1f533ae294355d33396985e469
>> Author: Eli Zaretskii <eliz <at> gnu.org>
>> Date:   Thu Oct 14 11:57:07 2021 +0300
>>
>>      Fix display of cursor in mouse-highlighted face with ':box'
>>
>>      * src/xdisp.c (erase_phys_cursor, show_mouse_face): Adjust
>>      phys_cursor.x as needed if the cursor is inside mouse-highlight.
>>      (get_cursor_offset_for_mouse_face): New function.
>>      * src/dispnew.c (gui_update_window_end): Set
>>      'mouse_face_overwritten_p' if the cursor is in mouse-face, to
>>      trigger more thorough redisplay of the cursor.
>>      (Bug#50660)
>
> Thanks, but it would still be good to know which code changes the
> mouse pointer to hand.  In the above patch, the only part that could
> perhaps cause that is the first hunk, in dispnew.c, but I don't see an
> immediate connection, especially since the answer is probably
> somewhere in X-specific code (xterm.c etc.).

I'll keep digging.




This bug report was last modified 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.