Mercurial > emacs
diff src/macterm.c @ 83218:47f53c5c9620
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-608
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-609
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-610
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-45
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-258
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Tue, 12 Oct 2004 07:52:25 +0000 |
parents | 4f2f1522636c 0867872551d9 |
children | 4056279af756 |
line wrap: on
line diff
--- a/src/macterm.c Sun Oct 10 18:11:21 2004 +0000 +++ b/src/macterm.c Tue Oct 12 07:52:25 2004 +0000 @@ -5317,7 +5317,11 @@ struct frame *f; { if (f->async_visible) - SelectWindow (FRAME_MAC_WINDOW (f)); + { + BLOCK_INPUT; + SelectWindow (FRAME_MAC_WINDOW (f)); + UNBLOCK_INPUT; + } } /* Lower frame F. */ @@ -5326,7 +5330,11 @@ struct frame *f; { if (f->async_visible) - SendBehind (FRAME_MAC_WINDOW (f), nil); + { + BLOCK_INPUT; + SendBehind (FRAME_MAC_WINDOW (f), nil); + UNBLOCK_INPUT; + } } static void @@ -8757,6 +8765,7 @@ mwp = fp->output_data.mac; + BLOCK_INPUT; if (making_terminal_window) { if (!(mwp->mWP = GetNewCWindow (TERM_WINDOW_RESOURCE, NULL, @@ -8784,9 +8793,8 @@ /* so that update events can find this mac_output struct */ mwp->mFP = fp; /* point back to emacs frame */ - SetPortWindowPort (mwp->mWP); - SizeWindow (mwp->mWP, FRAME_PIXEL_WIDTH (fp), FRAME_PIXEL_HEIGHT (fp), false); + UNBLOCK_INPUT; } @@ -9210,6 +9218,7 @@ signal (SIGPIPE, x_connection_signal); #endif + BLOCK_INPUT; mac_initialize_display_info (); #if TARGET_API_MAC_CARBON @@ -9228,6 +9237,7 @@ if (!inhibit_window_system) MakeMeTheFrontProcess (); #endif + UNBLOCK_INPUT; }