Commit 9cda66e4 authored by Dmitry Antipov's avatar Dmitry Antipov

* nsfns.m (x_set_cursor_type):

* w32fns.c (x_set_cursor_type):
* xfns.m (x_set_cursor_type): Do not set cursor_type_changed here...
* xdisp.c (set_frame_cursor_types): ...but in common code.
parent e4375ca7
2013-08-13 Dmitry Antipov <dmantipov@yandex.ru>
* keyboard.c (Fdiscard_input): Do not increment update_mode_lines.
* nsfns.m (x_set_cursor_type):
* w32fns.c (x_set_cursor_type):
* xfns.m (x_set_cursor_type): Do not set cursor_type_changed here...
* xdisp.c (set_frame_cursor_types): ...but in common code.
2013-08-13 Dmitry Antipov <dmantipov@yandex.ru>
......
......@@ -860,11 +860,7 @@ Turn the input menu (an NSMenu) into a lisp list for tracking on lisp side
x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
{
set_frame_cursor_types (f, arg);
/* Make sure the cursor gets redrawn. */
cursor_type_changed = 1;
}
/* called to set mouse pointer color, but all other terms use it to
initialize pointer types (and don't set the color ;) */
......
......@@ -1528,11 +1528,8 @@ void
x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
{
set_frame_cursor_types (f, arg);
/* Make sure the cursor gets redrawn. */
cursor_type_changed = 1;
}
void
x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
{
......
......@@ -26003,6 +26003,9 @@ set_frame_cursor_types (struct frame *f, Lisp_Object arg)
}
else
FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR;
/* Make sure the cursor gets redrawn. */
cursor_type_changed = 1;
}
......
......@@ -1053,11 +1053,8 @@ static void
x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
{
set_frame_cursor_types (f, arg);
/* Make sure the cursor gets redrawn. */
cursor_type_changed = 1;
}
static void
x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment