* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 7 Feb 2009 11:04:22 +0000 (11:04 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Sat, 7 Feb 2009 11:04:22 +0000 (11:04 +0000)
commit3175b12ae7dc142799e993a3bc5e076d47e20bd4
tree2a0cd5461010b7f3fdd1da04e63f4abad2d6d448
parent8434d0b8c0fe9870c4cf97079c69e29995e8f1e7
* nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event
when modal window is active. (Bug #2152)
(applicationShouldTerminate:): Remove now-unneeded while loop
around NSRunAlertPanel.

* nsmenu.m (popupSession): New file-global variable.
(pop_down_menu): End the popupSession before closing dialog.
(ns_popup_dialog): BLOCK_INPUT around dialog presentation.
(EmacsDialogPanel-runDialogAt:): Don't place window (superfluous),
don't query NSApp for events (just sleep instead).
src/ChangeLog
src/nsmenu.m
src/nsterm.m