aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoakim Verona2013-08-13 11:11:49 +0200
committerJoakim Verona2013-08-13 11:11:49 +0200
commitf1742c473f7bc90dbe65d523a895187b5e72853a (patch)
tree0f09c0363c6adaa6c3d5535466a7ed04d90f0395 /src
parent6eb8619434f2278f3e56663bc7bbb31043b6146b (diff)
parent9cda66e432f4f17a9aa150a56de389df5577c914 (diff)
downloademacs-f1742c473f7bc90dbe65d523a895187b5e72853a.tar.gz
emacs-f1742c473f7bc90dbe65d523a895187b5e72853a.zip
merge from trunk
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/nsfns.m4
-rw-r--r--src/w32fns.c5
-rw-r--r--src/xdisp.c3
-rw-r--r--src/xfns.c5
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 @@
12013-08-13 Dmitry Antipov <dmantipov@yandex.ru> 12013-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
52013-08-13 Dmitry Antipov <dmantipov@yandex.ru> 92013-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
860x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 860x_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
1528x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 1528x_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
1536void 1533void
1537x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 1534x_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 42b7977687e..aecca138e04 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26250,6 +26250,9 @@ set_frame_cursor_types (struct frame *f, Lisp_Object arg)
26250 } 26250 }
26251 else 26251 else
26252 FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR; 26252 FRAME_BLINK_OFF_CURSOR (f) = DEFAULT_CURSOR;
26253
26254 /* Make sure the cursor gets redrawn. */
26255 cursor_type_changed = 1;
26253} 26256}
26254 26257
26255 26258
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
1053x_set_cursor_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 1053x_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
1061static void 1058static void
1062x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval) 1059x_set_icon_type (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
1063{ 1060{