diff options
author | Steven Tamm <steventamm@mac.com> | 2002-12-12 17:10:34 +0000 |
---|---|---|
committer | Steven Tamm <steventamm@mac.com> | 2002-12-12 17:10:34 +0000 |
commit | 96720f09ea540774b650385a2d56a789fadbe972 (patch) | |
tree | ce31e82b138df861ed0a682385f581a5227fd869 /src/macterm.c | |
parent | 2bfe1b7a8f6e2b2e00b9be9b4feb8ef347e40520 (diff) | |
download | emacs-96720f09ea540774b650385a2d56a789fadbe972.tar.gz emacs-96720f09ea540774b650385a2d56a789fadbe972.tar.bz2 emacs-96720f09ea540774b650385a2d56a789fadbe972.zip |
* macterm.c (mac_check_for_quit_char): Correctly set the
modifiers of the event to 0.
* mac.c (sys_select): Duplicate rfds before calling select to
ensure that rfds survive the while loop.
Diffstat (limited to 'src/macterm.c')
-rw-r--r-- | src/macterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macterm.c b/src/macterm.c index 0fb644222cb..d2299524362 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -13561,6 +13561,8 @@ mac_check_for_quit_char() /* Use an input_event to emulate what the interrupt handler does. */ e.kind = ASCII_KEYSTROKE_EVENT; e.code = quit_char; + e.arg = NULL; + e.modifiers = NULL; e.timestamp = EventTimeToTicks(GetEventTime(event))*(1000/60); XSETFRAME(e.frame_or_window, mwp->mFP); /* Remove event from queue to prevent looping. */ |