diff options
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/w32term.c b/src/w32term.c index 0b22fd178e4..a596a487f3d 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -4923,16 +4923,11 @@ w32_read_socket (struct terminal *terminal, | |||
| 4923 | break; | 4923 | break; |
| 4924 | 4924 | ||
| 4925 | case WM_KILLFOCUS: | 4925 | case WM_KILLFOCUS: |
| 4926 | w32_detect_focus_change (dpyinfo, &msg, &inev); | ||
| 4926 | f = x_top_window_to_frame (dpyinfo, msg.msg.hwnd); | 4927 | f = x_top_window_to_frame (dpyinfo, msg.msg.hwnd); |
| 4927 | 4928 | ||
| 4928 | if (f) | 4929 | if (f) |
| 4929 | { | 4930 | { |
| 4930 | if (f == dpyinfo->w32_focus_event_frame) | ||
| 4931 | dpyinfo->w32_focus_event_frame = 0; | ||
| 4932 | |||
| 4933 | if (f == dpyinfo->w32_focus_frame) | ||
| 4934 | x_new_focus_frame (dpyinfo, 0); | ||
| 4935 | |||
| 4936 | if (f == hlinfo->mouse_face_mouse_frame) | 4931 | if (f == hlinfo->mouse_face_mouse_frame) |
| 4937 | { | 4932 | { |
| 4938 | /* If we move outside the frame, then we're | 4933 | /* If we move outside the frame, then we're |