aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-01-24 09:41:28 +0400
committerDmitry Antipov2013-01-24 09:41:28 +0400
commitedfa7fa092c303265edeb2a0b530463cdfe63ab7 (patch)
tree509264878099f61ea1290ca65f93401a1bdf9926 /src/w32fns.c
parent5ad86e34d86173f6495b38336d377de5b69da853 (diff)
downloademacs-edfa7fa092c303265edeb2a0b530463cdfe63ab7.tar.gz
emacs-edfa7fa092c303265edeb2a0b530463cdfe63ab7.zip
Drop async_visible and async_iconified fields of struct frame.
This is possible because async input is gone; for details, see http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00734.html. * frame.h (struct frame): Remove async_visible and async_iconified members, convert garbaged to unsigned bitfield. Adjust comments. (FRAME_SAMPLE_VISIBILITY): Remove. Adjust all users. (SET_FRAME_VISIBLE, SET_FRAME_ICONIFIED): New macros. * frame.c, gtkutil.c, term.c, w32fns.c, window.c, xdisp.c: Consistently use SET_FRAME_VISIBLE, SET_FRAME_ICONIFIED, FRAME_VISIBLE_P and FRAME_ICONIFIED_P macros where appropriate. * w32term.c: Ditto. (w32_read_socket): Save iconified state to generate DEICONIFY_EVENT properly. Likewise for obscured. * xterm.c: Ditto. (handle_one_xevent): Save visible state go generate ICONIFY_EVENT properly. * nsterm.m: Ditto. (windowDidDeminiaturize): Generate DEICONIFY_EVENT.
Diffstat (limited to 'src/w32fns.c')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 355ee96b9f3..6c098cae3a3 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -5943,7 +5943,7 @@ Text larger than the specified size is clipped. */)
5943 SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE); 5943 SWP_NOMOVE | SWP_NOSIZE | SWP_NOACTIVATE);
5944 5944
5945 /* Let redisplay know that we have made the frame visible already. */ 5945 /* Let redisplay know that we have made the frame visible already. */
5946 f->async_visible = 1; 5946 SET_FRAME_VISIBLE (f, 1);
5947 5947
5948 ShowWindow (FRAME_W32_WINDOW (f), SW_SHOWNOACTIVATE); 5948 ShowWindow (FRAME_W32_WINDOW (f), SW_SHOWNOACTIVATE);
5949 } 5949 }