diff options
| author | YAMAMOTO Mitsuharu | 2006-04-03 06:28:48 +0000 |
|---|---|---|
| committer | YAMAMOTO Mitsuharu | 2006-04-03 06:28:48 +0000 |
| commit | fc9f8d154116dba6fd4246c86fe7db22aca3cf91 (patch) | |
| tree | 02297ae07a273f5a5d79d39ff1e6428b58c7d2a7 | |
| parent | 022af1243cf04c67caf119e0156bf4de577cf126 (diff) | |
| download | emacs-fc9f8d154116dba6fd4246c86fe7db22aca3cf91.tar.gz emacs-fc9f8d154116dba6fd4246c86fe7db22aca3cf91.zip | |
(XTread_socket): Initialize variable `f' before its use.
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/macterm.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fcb678d0707..88a8b7b4df5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 2 | |||
| 3 | * macterm.c (XTread_socket): Initialize variable `f' before its use. | ||
| 4 | |||
| 1 | 2006-04-03 Kenichi Handa <handa@m17n.org> | 5 | 2006-04-03 Kenichi Handa <handa@m17n.org> |
| 2 | 6 | ||
| 3 | * image.c: Include "charset.h" and "coding.h". | 7 | * image.c: Include "charset.h" and "coding.h". |
diff --git a/src/macterm.c b/src/macterm.c index d30fa02e31f..6287d1a4f93 100644 --- a/src/macterm.c +++ b/src/macterm.c | |||
| @@ -10455,6 +10455,8 @@ XTread_socket (sd, expected, hold_quit) | |||
| 10455 | 10455 | ||
| 10456 | ObscureCursor (); | 10456 | ObscureCursor (); |
| 10457 | 10457 | ||
| 10458 | f = mac_focus_frame (dpyinfo); | ||
| 10459 | |||
| 10458 | if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight) | 10460 | if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight) |
| 10459 | && !EQ (f->tool_bar_window, dpyinfo->mouse_face_window)) | 10461 | && !EQ (f->tool_bar_window, dpyinfo->mouse_face_window)) |
| 10460 | { | 10462 | { |
| @@ -10500,7 +10502,7 @@ XTread_socket (sd, expected, hold_quit) | |||
| 10500 | inev.modifiers |= (extra_keyboard_modifiers | 10502 | inev.modifiers |= (extra_keyboard_modifiers |
| 10501 | & (meta_modifier | alt_modifier | 10503 | & (meta_modifier | alt_modifier |
| 10502 | | hyper_modifier | super_modifier)); | 10504 | | hyper_modifier | super_modifier)); |
| 10503 | XSETFRAME (inev.frame_or_window, mac_focus_frame (dpyinfo)); | 10505 | XSETFRAME (inev.frame_or_window, f); |
| 10504 | break; | 10506 | break; |
| 10505 | 10507 | ||
| 10506 | case kHighLevelEvent: | 10508 | case kHighLevelEvent: |