Mercurial > emacs
changeset 69773:9dd22c1de682
(XTread_socket): Initialize variable `f' before its use.
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
---|---|
date | Mon, 03 Apr 2006 06:28:39 +0000 |
parents | c49031fc9870 |
children | 6fa12a3dff9c |
files | src/macterm.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/macterm.c Mon Apr 03 01:23:44 2006 +0000 +++ b/src/macterm.c Mon Apr 03 06:28:39 2006 +0000 @@ -10455,6 +10455,8 @@ ObscureCursor (); + f = mac_focus_frame (dpyinfo); + if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight) && !EQ (f->tool_bar_window, dpyinfo->mouse_face_window)) { @@ -10500,7 +10502,7 @@ inev.modifiers |= (extra_keyboard_modifiers & (meta_modifier | alt_modifier | hyper_modifier | super_modifier)); - XSETFRAME (inev.frame_or_window, mac_focus_frame (dpyinfo)); + XSETFRAME (inev.frame_or_window, f); break; case kHighLevelEvent: