aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2006-06-01 09:37:18 +0000
committerYAMAMOTO Mitsuharu2006-06-01 09:37:18 +0000
commit36f0107c0b82922b89d2812ed01bb3c3a6ed1ad2 (patch)
treeda920f01984827405ba07c02f154a4eea66b963e /src
parent2e92a7cbd6126487315aa3fc2d1e1f5faa84292d (diff)
downloademacs-36f0107c0b82922b89d2812ed01bb3c3a6ed1ad2.tar.gz
emacs-36f0107c0b82922b89d2812ed01bb3c3a6ed1ad2.zip
(mac_handle_visibility_change): Set buf.arg to Qnil.
(XTread_socket): Remove obsolete comment.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/macterm.c13
2 files changed, 11 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 78ce1234a32..3999209f97e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12006-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil.
4 (XTread_socket): Remove obsolete comment.
5
12006-06-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 62006-06-01 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 7
3 * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for 8 * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for
diff --git a/src/macterm.c b/src/macterm.c
index c86ad0ffde3..0d166595773 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -6134,6 +6134,7 @@ mac_handle_visibility_change (f)
6134 EVENT_INIT (buf); 6134 EVENT_INIT (buf);
6135 buf.kind = DEICONIFY_EVENT; 6135 buf.kind = DEICONIFY_EVENT;
6136 XSETFRAME (buf.frame_or_window, f); 6136 XSETFRAME (buf.frame_or_window, f);
6137 buf.arg = Qnil;
6137 kbd_buffer_store_event (&buf); 6138 kbd_buffer_store_event (&buf);
6138 } 6139 }
6139 else if (! NILP (Vframe_list) && ! NILP (XCDR (Vframe_list))) 6140 else if (! NILP (Vframe_list) && ! NILP (XCDR (Vframe_list)))
@@ -6147,6 +6148,7 @@ mac_handle_visibility_change (f)
6147 EVENT_INIT (buf); 6148 EVENT_INIT (buf);
6148 buf.kind = ICONIFY_EVENT; 6149 buf.kind = ICONIFY_EVENT;
6149 XSETFRAME (buf.frame_or_window, f); 6150 XSETFRAME (buf.frame_or_window, f);
6151 buf.arg = Qnil;
6150 kbd_buffer_store_event (&buf); 6152 kbd_buffer_store_event (&buf);
6151 } 6153 }
6152 6154
@@ -8338,9 +8340,10 @@ x_find_ccl_program (fontp)
8338} 8340}
8339 8341
8340#if USE_MAC_FONT_PANEL 8342#if USE_MAC_FONT_PANEL
8341/* The first call to font panel functions (FPIsFontPanelVisible, 8343/* Whether Font Panel has been shown before. The first call to font
8342 SetFontInfoForSelection) is slow. This variable is used for 8344 panel functions (FPIsFontPanelVisible, SetFontInfoForSelection) is
8343 deferring such a call as much as possible. */ 8345 slow. This variable is used for deferring such a call as much as
8346 possible. */
8344static int font_panel_shown_p = 0; 8347static int font_panel_shown_p = 0;
8345 8348
8346int 8349int
@@ -9866,10 +9869,6 @@ XTread_socket (sd, expected, hold_quit)
9866 struct frame *f; 9869 struct frame *f;
9867 unsigned long timestamp; 9870 unsigned long timestamp;
9868 9871
9869 /* It is necessary to set this (additional) argument slot of an
9870 event to nil because keyboard.c protects incompletely
9871 processed event from being garbage collected by placing them
9872 in the kbd_buffer_gcpro vector. */
9873 EVENT_INIT (inev); 9872 EVENT_INIT (inev);
9874 inev.kind = NO_EVENT; 9873 inev.kind = NO_EVENT;
9875 inev.arg = Qnil; 9874 inev.arg = Qnil;