Honor make-pointer-invisible on macOS
* src/nsterm.m ([EmacsView keyDown:]): Call [NSCursor setHiddenUntilMouseMoves:] with the correct argument, depending on variable make-pointer-invisible.
This commit is contained in:
parent
2e68cee653
commit
091cb97a2a
2 changed files with 4 additions and 1 deletions
3
etc/NEWS
3
etc/NEWS
|
@ -1524,6 +1524,9 @@ To turn this on, set the variable 'w32-use-native-image-API' to a
|
|||
non-nil value. Please report any bugs you find while using the native
|
||||
image API via 'M-x report-emacs-bug'.
|
||||
|
||||
---
|
||||
** The variable 'make-pointer-invisible' is now honored on macOS.
|
||||
|
||||
|
||||
----------------------------------------------------------------------
|
||||
This file is part of GNU Emacs.
|
||||
|
|
|
@ -6449,7 +6449,7 @@ most recently updated (I guess), which is not the correct one. */
|
|||
if (nsEvArray == nil)
|
||||
nsEvArray = [[NSMutableArray alloc] initWithCapacity: 1];
|
||||
|
||||
[NSCursor setHiddenUntilMouseMoves: YES];
|
||||
[NSCursor setHiddenUntilMouseMoves:! NILP (Vmake_pointer_invisible)];
|
||||
|
||||
if (hlinfo->mouse_face_hidden && FIXNUMP (Vmouse_highlight))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue