Mercurial > emacs
diff src/nsterm.m @ 100839:03cb6ea90f92
* nsfns.m (x_set_foreground_color, x_set_background_color)
(x_set_cursor_color, x_set_icon_name, x_explicitly_set_name)
(x_set_title, x_set_icon_type, x_set_cursor_type): Rename to use
x_ prefix instead of ns_. Update references.
(syms_of_nsfns): Add a FIXME comment.
* nsterm.m (x_set_cursor_type): New prototype.
(setValuesFromPanel): Use it instead of the old ns_ prefixed name.
author | Dan Nicolaescu <dann@ics.uci.edu> |
---|---|
date | Fri, 02 Jan 2009 18:58:49 +0000 |
parents | dab9cf44bf3f |
children | e038c1a8307c |
line wrap: on
line diff
--- a/src/nsterm.m Fri Jan 02 18:35:15 2009 +0000 +++ b/src/nsterm.m Fri Jan 02 18:58:49 2009 +0000 @@ -297,9 +297,11 @@ ns_send_appdefined (-1); \ } +void x_set_cursor_type (struct frame *, Lisp_Object, Lisp_Object); + /* TODO: get rid of need for these forward declarations */ -static void ns_condemn_scroll_bars (struct frame *f), - ns_judge_scroll_bars (struct frame *f); +static void ns_condemn_scroll_bars (struct frame *f); +static void ns_judge_scroll_bars (struct frame *f); /* unused variables needed for compatibility reasons */ int x_use_underline_position_properties, x_underline_at_descent_line; @@ -6100,7 +6102,7 @@ } store_frame_param (frame, Qcursor_type, cursor_type); - ns_set_cursor_type(frame, cursor_type, Qnil); /* FIXME: do only if changed */ + x_set_cursor_type (frame, cursor_type, Qnil); /* FIXME: do only if changed */ ns_alternate_modifier = ns_mod_to_lisp (altTag); ns_command_modifier = ns_mod_to_lisp (cmdTag);