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/w32term.c | |
| 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/w32term.c')
| -rw-r--r-- | src/w32term.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c index 6c53bc147a0..2be53cab894 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -85,7 +85,7 @@ static int any_help_event_p; | |||
| 85 | extern unsigned int msh_mousewheel; | 85 | extern unsigned int msh_mousewheel; |
| 86 | 86 | ||
| 87 | extern int w32_codepage_for_font (char *fontname); | 87 | extern int w32_codepage_for_font (char *fontname); |
| 88 | extern Cursor w32_load_cursor (LPCTSTR name); | 88 | extern HCURSOR w32_load_cursor (LPCTSTR name); |
| 89 | 89 | ||
| 90 | 90 | ||
| 91 | /* This is display since w32 does not support multiple ones. */ | 91 | /* This is display since w32 does not support multiple ones. */ |
| @@ -166,7 +166,7 @@ int w32_message_fd = -1; | |||
| 166 | 166 | ||
| 167 | static void w32_handle_tool_bar_click (struct frame *, | 167 | static void w32_handle_tool_bar_click (struct frame *, |
| 168 | struct input_event *); | 168 | struct input_event *); |
| 169 | static void w32_define_cursor (Window, Cursor); | 169 | static void w32_define_cursor (Window, Emacs_Cursor); |
| 170 | 170 | ||
| 171 | static void w32_scroll_bar_clear (struct frame *); | 171 | static void w32_scroll_bar_clear (struct frame *); |
| 172 | static void w32_raise_frame (struct frame *); | 172 | static void w32_raise_frame (struct frame *); |
| @@ -3429,7 +3429,7 @@ static void w32_horizontal_scroll_bar_report_motion (struct frame **, Lisp_Objec | |||
| 3429 | Lisp_Object *, Lisp_Object *, | 3429 | Lisp_Object *, Lisp_Object *, |
| 3430 | Time *); | 3430 | Time *); |
| 3431 | static void | 3431 | static void |
| 3432 | w32_define_cursor (Window window, Cursor cursor) | 3432 | w32_define_cursor (Window window, Emacs_Cursor cursor) |
| 3433 | { | 3433 | { |
| 3434 | PostMessage (window, WM_EMACS_SETCURSOR, (WPARAM) cursor, 0); | 3434 | PostMessage (window, WM_EMACS_SETCURSOR, (WPARAM) cursor, 0); |
| 3435 | } | 3435 | } |
| @@ -5806,7 +5806,7 @@ w32_draw_bar_cursor (struct window *w, struct glyph_row *row, | |||
| 5806 | /* RIF: Define cursor CURSOR on frame F. */ | 5806 | /* RIF: Define cursor CURSOR on frame F. */ |
| 5807 | 5807 | ||
| 5808 | static void | 5808 | static void |
| 5809 | w32_define_frame_cursor (struct frame *f, Cursor cursor) | 5809 | w32_define_frame_cursor (struct frame *f, Emacs_Cursor cursor) |
| 5810 | { | 5810 | { |
| 5811 | w32_define_cursor (FRAME_W32_WINDOW (f), cursor); | 5811 | w32_define_cursor (FRAME_W32_WINDOW (f), cursor); |
| 5812 | } | 5812 | } |