aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/nsmenu.m2
-rw-r--r--src/nsterm.m2
3 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index caee8513e3e..146eed20e37 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-08-06 Jan Djärv <jan.h.d@swipnet.se>
2
3 * nsterm.m (ns_frame_rehighlight): Use FSET.
4
5 * nsmenu.m (ns_update_menubar): Use FSET.
6
12012-08-06 Dmitry Antipov <dmantipov@yandex.ru> 72012-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2 8
3 Separate read and write access to Lisp_Object slots of Lisp_Process. 9 Separate read and write access to Lisp_Object slots of Lisp_Process.
diff --git a/src/nsmenu.m b/src/nsmenu.m
index f13c513940f..152127e66c5 100644
--- a/src/nsmenu.m
+++ b/src/nsmenu.m
@@ -215,7 +215,7 @@ ns_update_menubar (struct frame *f, int deep_p, EmacsMenu *submenu)
215 if (! NILP (Vlucid_menu_bar_dirty_flag)) 215 if (! NILP (Vlucid_menu_bar_dirty_flag))
216 call0 (Qrecompute_lucid_menubar); 216 call0 (Qrecompute_lucid_menubar);
217 safe_run_hooks (Qmenu_bar_update_hook); 217 safe_run_hooks (Qmenu_bar_update_hook);
218 FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f)); 218 FSET (f, menu_bar_items, menu_bar_items (FRAME_MENU_BAR_ITEMS (f)));
219 219
220 /* Now ready to go */ 220 /* Now ready to go */
221 items = FRAME_MENU_BAR_ITEMS (f); 221 items = FRAME_MENU_BAR_ITEMS (f);
diff --git a/src/nsterm.m b/src/nsterm.m
index 67f3205a897..046ed4d3082 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1018,7 +1018,7 @@ ns_frame_rehighlight (struct frame *frame)
1018 : dpyinfo->x_focus_frame); 1018 : dpyinfo->x_focus_frame);
1019 if (!FRAME_LIVE_P (dpyinfo->x_highlight_frame)) 1019 if (!FRAME_LIVE_P (dpyinfo->x_highlight_frame))
1020 { 1020 {
1021 FRAME_FOCUS_FRAME (dpyinfo->x_focus_frame) = Qnil; 1021 FSET (dpyinfo->x_focus_frame, focus_frame, Qnil);
1022 dpyinfo->x_highlight_frame = dpyinfo->x_focus_frame; 1022 dpyinfo->x_highlight_frame = dpyinfo->x_focus_frame;
1023 } 1023 }
1024 } 1024 }