Subject: Re: bug#75931: 31.0.50; mouse-face and pointer properties make pointer change back and forth

From: Eli Zaretskii <[email-masked]>
Date: Wed, 29 Jan 2025 21:44:21 +0200

> Cc: [email-masked]
> Date: Wed, 29 Jan 2025 21:11:05 +0200
> From: Eli Zaretskii <[email-masked]>
> 
> >      * 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.).

Does anything change if you customize void-text-area-pointer to a
value that is neither 'arrow' nor 'hand'?  Do you see that 3rd shape
in the problematic scenario?