diff options
| author | Alexander Gramiak | 2019-05-09 17:13:18 -0600 |
|---|---|---|
| committer | Alexander Gramiak | 2019-05-19 19:50:32 -0600 |
| commit | 06db2a052fb7335185e8d581d245ce214b3bba7c (patch) | |
| tree | e4dc82552110a777a37703dce446b1c632f6e82b /src/nsgui.h | |
| parent | c0e146e4ec266edf348473c3db7ca8d16745f4f7 (diff) | |
| download | emacs-06db2a052fb7335185e8d581d245ce214b3bba7c.tar.gz emacs-06db2a052fb7335185e8d581d245ce214b3bba7c.zip | |
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.h | 6 |
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; | |||
| 102 | #endif | 102 | #endif |
| 103 | 103 | ||
| 104 | #ifdef __OBJC__ | 104 | #ifdef __OBJC__ |
| 105 | typedef NSCursor * Cursor; | 105 | typedef NSCursor *Emacs_Cursor; |
| 106 | #else | 106 | #else |
| 107 | typedef void *Cursor; | 107 | typedef void *Emacs_Cursor; |
| 108 | #endif | 108 | #endif |
| 109 | 109 | ||
| 110 | #define No_Cursor (0) | ||
| 111 | |||
| 112 | typedef int Window; | 110 | typedef int Window; |
| 113 | 111 | ||
| 114 | 112 | ||