From: Jan Djärv Date: Tue, 13 Nov 2012 07:56:15 +0000 (+0100) Subject: * nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is X-Git-Tag: emacs-24.2.90~92 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f99c65e5743526a7fcc6352599b6f0efd3970202;p=emacs.git * nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is called. Fixes: debbugs:12834 --- diff --git a/src/ChangeLog b/src/ChangeLog index 494b2179516..d72091c0ed6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-11-13 Jan Djärv + + * nsterm.m (hold_event): Send SIGIO to make sure ns_read_socket is + called (Bug#12834). + 2012-11-12 Eli Zaretskii * xdisp.c (decode_mode_spec): Limit the value of WIDTH argument diff --git a/src/nsterm.m b/src/nsterm.m index 9b2e544c75b..f4982e0a7cb 100644 --- a/src/nsterm.m +++ b/src/nsterm.m @@ -312,6 +312,8 @@ hold_event (struct input_event *event) } hold_event_q.q[hold_event_q.nr++] = *event; + /* Make sure ns_read_socket is called, i.e. we have input. */ + kill (0, SIGIO); } static Lisp_Object