summaryrefslogtreecommitdiff
path: root/src/nsgui.h
diff options
context:
space:
mode:
authorAlexander Gramiak <agrambot@gmail.com>2019-05-09 17:13:18 -0600
committerAlexander Gramiak <agrambot@gmail.com>2019-05-19 19:50:32 -0600
commit06db2a052fb7335185e8d581d245ce214b3bba7c (patch)
treee4dc82552110a777a37703dce446b1c632f6e82b /src/nsgui.h
parentc0e146e4ec266edf348473c3db7ca8d16745f4f7 (diff)
downloademacs-06db2a052fb7335185e8d581d245ce214b3bba7c.tar.gz
Introduce Emacs_Cursor typedef
* src/dispextern.h [HAVE_X_WINDOWS]: Define Emacs_Cursor alias. Move the No_Cursor definition from xterm.h. (redisplay_interface): Use Emacs_Cursor over Cursor. * src/nsgui.h: * src/nsterm.h: * src/nsterm.m: * src/w32gui.h: * src/w32term.c: * src/xdisp.c: * src/xterm.c (x_define_frame_cursor): Use Emacs_Cursor over Cursor.
Diffstat (limited to 'src/nsgui.h')
-rw-r--r--src/nsgui.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nsgui.h b/src/nsgui.h
index 81be68b574d..1a0453fa4a4 100644
--- a/src/nsgui.h
+++ b/src/nsgui.h
@@ -102,13 +102,11 @@ typedef void *Pixmap;
#endif
#ifdef __OBJC__
-typedef NSCursor * Cursor;
+typedef NSCursor *Emacs_Cursor;
#else
-typedef void *Cursor;
+typedef void *Emacs_Cursor;
#endif
-#define No_Cursor (0)
-
typedef int Window;