• Adrian Robert's avatar
    * nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event · 3175b12a
    Adrian Robert authored
    	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).
    3175b12a
nsmenu.m 55.7 KB