[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/src nsterm.m
From: |
Adrian Robert |
Subject: |
[Emacs-diffs] emacs/src nsterm.m |
Date: |
Fri, 20 Feb 2009 11:39:20 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Adrian Robert <arobert> 09/02/20 11:39:20
Modified files:
src : nsterm.m
Log message:
* nsterm.m (x_make_frame_invisible): Unset async_visible,
async_iconified. Based on a patch by Christian Lynbech
<address@hidden>.
(EmacsView-windowDidMiniaturize:): Unset async_visible.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/src/nsterm.m?cvsroot=emacs&r1=1.58&r2=1.59
Patches:
Index: nsterm.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsterm.m,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- nsterm.m 7 Feb 2009 11:04:07 -0000 1.58
+++ nsterm.m 20 Feb 2009 11:39:19 -0000 1.59
@@ -1001,6 +1001,8 @@
NSTRACE (x_make_frame_invisible);
check_ns ();
[[view window] orderOut: NSApp];
+ f->async_visible = 0;
+ f->async_iconified = 0;
}
@@ -5308,8 +5310,8 @@
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 @@
return;
emacsframe->async_iconified = 1;
+ emacsframe->async_visible = 0;
if (emacs_event)
{