Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7436fc63
Commit
7436fc63
authored
Nov 17, 2012
by
Jan Djärv
Browse files
* nsterm.m (hold_event): Set send_appdefined to YES.
(ns_select): Return at once if events are held (Bug#12834).
parent
74ca4d39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/nsterm.m
src/nsterm.m
+9
-0
No files found.
src/ChangeLog
View file @
7436fc63
2012-11-17 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (hold_event): Set send_appdefined to YES (Bug#12834).
(ns_select): Return at once if events are held (Bug#12834).
2012-11-16 enami tsugutomo <tsugutomo.enami@jp.sony.com>
* unexelf.c (ELFSIZE) [__NetBSD__ && _LP64]: Set to 64.
...
...
src/nsterm.m
View file @
7436fc63
...
...
@@ -314,6 +314,7 @@ Updated by Christian Limpach (chris@nice.ch)
hold_event_q.q[hold_event_q.nr++] = *event;
/* Make sure ns_read_socket is called, i.e. we have input. */
kill (0, SIGIO);
send_appdefined = YES;
}
static Lisp_Object
...
...
@@ -3445,6 +3446,14 @@ overwriting cursor (usually when cursor on a tab) */
/* NSTRACE (ns_select); */
if (hold_event_q.nr > 0)
{
/* We already have events pending. */
kill (0, SIGIO);
errno = EINTR;
return -1;
}
for (k = 0; k < nfds+1; k++)
{
if (readfds && FD_ISSET(k, readfds)) ++nr;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment