diff options
| author | Dmitry Antipov | 2013-08-13 12:58:15 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-08-13 12:58:15 +0400 |
| commit | 9cda66e432f4f17a9aa150a56de389df5577c914 (patch) | |
| tree | 33926337f7aba945c1a05a5668f6abfe75359896 /src | |
| parent | e4375ca7e087cb2ad74f0a3b9fb893500837f9c3 (diff) | |
| download | emacs-9cda66e432f4f17a9aa150a56de389df5577c914.tar.gz emacs-9cda66e432f4f17a9aa150a56de389df5577c914.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/nsfns.m | 4 | ||||
| -rw-r--r-- | src/w32fns.c | 5 | ||||
| -rw-r--r-- | src/xdisp.c | 3 | ||||
| -rw-r--r-- | src/xfns.c | 5 |
5 files changed, 9 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 6a3b7cf9cee..c8735ab96ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> | 1 | 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 2 | ||
| 3 | * keyboard.c (Fdiscard_input): Do not increment update_mode_lines. | 3 | * keyboard.c (Fdiscard_input): Do not increment update_mode_lines. |
| 4 | * nsfns.m (x_set_cursor_type): | ||
| 5 | * w32fns.c (x_set_cursor_type): | ||
| 6 | * xfns.m (x_set_cursor_type): Do not set cursor_type_changed here... | ||
| 7 | * xdisp.c (set_frame_cursor_types): ...but in common code. | ||
| 4 | 8 | ||
| 5 | 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> | 9 | 2013-08-13 Dmitry Antipov <dmantipov@yandex.ru> |
| 6 | 10 | ||
diff --git a/src/nsfns.m b/src/nsfns.m index ba0dba8c7e7..fc276c2b12d 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -860,11 +860,7 @@ static void | |||
| 860 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | 860 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) |
| 861 | { | 861 | { |
| 862 | set_frame_cursor_types (f, arg); | 862 | set_frame_cursor_types (f, arg); |
| 863 | |||
| 864 | /* Make sure the cursor gets redrawn. */ | ||
| 865 | cursor_type_changed = 1; | ||
| 866 | } | 863 | } |
| 867 | |||
| 868 | 864 | ||
| 869 | /* called to set mouse pointer color, but all other terms use it to | 865 | /* called to set mouse pointer color, but all other terms use it to |
| 870 | initialize pointer types (and don't set the color ;) */ | 866 | initialize pointer types (and don't set the color ;) */ |
diff --git a/src/w32fns.c b/src/w32fns.c index c43b7d4adf3..b8c445a3a36 100644 --- a/src/w32fns.c +++ b/src/w32fns.c | |||
| @@ -1528,11 +1528,8 @@ void | |||
| 1528 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | 1528 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) |
| 1529 | { | 1529 | { |
| 1530 | set_frame_cursor_types (f, arg); | 1530 | set_frame_cursor_types (f, arg); |
| 1531 | |||
| 1532 | /* Make sure the cursor gets redrawn. */ | ||
| 1533 | cursor_type_changed = 1; | ||
| 1534 | } | 1531 | } |
| 1535 | 1532 | ||
| 1536 | void | 1533 | void |
| 1537 | x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | 1534 | x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) |
| 1538 | { | 1535 | { |
diff --git a/src/xdisp.c b/src/xdisp.c index 37f2c94b5f8..8ef46d5be10 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -26003,6 +26003,9 @@ set_frame_cursor_types (struct frame *f, Lisp_Object arg) | |||
| 26003 | } | 26003 | } |
| 26004 | else | 26004 | else |
| 26005 | FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; | 26005 | FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; |
| 26006 | |||
| 26007 | /* Make sure the cursor gets redrawn. */ | ||
| 26008 | cursor_type_changed = 1; | ||
| 26006 | } | 26009 | } |
| 26007 | 26010 | ||
| 26008 | 26011 | ||
diff --git a/src/xfns.c b/src/xfns.c index 4f728ad59b0..0c91e298ec8 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -1053,11 +1053,8 @@ static void | |||
| 1053 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | 1053 | x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) |
| 1054 | { | 1054 | { |
| 1055 | set_frame_cursor_types (f, arg); | 1055 | set_frame_cursor_types (f, arg); |
| 1056 | |||
| 1057 | /* Make sure the cursor gets redrawn. */ | ||
| 1058 | cursor_type_changed = 1; | ||
| 1059 | } | 1056 | } |
| 1060 | 1057 | ||
| 1061 | static void | 1058 | static void |
| 1062 | x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) | 1059 | x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) |
| 1063 | { | 1060 | { |