aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/nsterm.m3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1e9e65192f7..700ff294c83 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-07-25 Jan Djärv <jan.h.d@swipnet.se>
2
3 * nsterm.m (ns_read_socket): Return early if there is a modal
4 window (Bug#12043).
5
12012-07-25 Martin Rudalics <rudalics@gmx.at> 62012-07-25 Martin Rudalics <rudalics@gmx.at>
2 7
3 * frame.c (Fredirect_frame_focus): In doc-string don't mention 8 * frame.c (Fredirect_frame_focus): In doc-string don't mention
diff --git a/src/nsterm.m b/src/nsterm.m
index e018ea34910..1f06d49c5b9 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -3411,6 +3411,9 @@ ns_read_socket (struct terminal *terminal, int expected,
3411 3411
3412/* NSTRACE (ns_read_socket); */ 3412/* NSTRACE (ns_read_socket); */
3413 3413
3414 if ([NSApp modalWindow] != nil)
3415 return -1;
3416
3414 if (interrupt_input_blocked) 3417 if (interrupt_input_blocked)
3415 { 3418 {
3416 interrupt_input_pending = 1; 3419 interrupt_input_pending = 1;