Commit 52f8870b authored by Adrian Robert's avatar Adrian Robert

* nsterm.m (x_make_frame_invisible): Unset async_visible,

	async_iconified.  Based on a patch by Christian Lynbech
	<christian.lynbech@tieto.com>.
	(EmacsView-windowDidMiniaturize:): Unset async_visible.
parent 9148fdd0
2009-02-20 Adrian Robert <Adrian.B.Robert@gmail.com>
* nsterm.m (x_make_frame_invisible): Unset async_visible,
async_iconified. Based on a patch by Christian Lynbech
<christian.lynbech@tieto.com>.
(EmacsView-windowDidMiniaturize:): Unset async_visible.
2009-02-20 Glenn Morris <rgm@gnu.org>
* syntax.c (Fskip_chars_forward): Fix doc typo.
......
......@@ -1001,6 +1001,8 @@ Free a pool and temporary objects it refers to (callable from C)
NSTRACE (x_make_frame_invisible);
check_ns ();
[[view window] orderOut: NSApp];
f->async_visible = 0;
f->async_iconified = 0;
}
......@@ -5308,8 +5310,8 @@ - (void)windowDidDeminiaturize: sender
NSTRACE (windowDidDeminiaturize);
if (!emacsframe->output_data.ns)
return;
emacsframe->async_visible = 1;
emacsframe->async_iconified = 0;
emacsframe->async_visible = 1;
windows_or_buffers_changed++;
if (emacs_event)
......@@ -5340,6 +5342,7 @@ - (void)windowDidMiniaturize: sender
return;
emacsframe->async_iconified = 1;
emacsframe->async_visible = 0;
if (emacs_event)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment