]> git.eshelyaron.com Git - emacs.git/commit
Drop async_visible and async_iconified fields of struct frame.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 24 Jan 2013 05:41:28 +0000 (09:41 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 24 Jan 2013 05:41:28 +0000 (09:41 +0400)
commitedfa7fa092c303265edeb2a0b530463cdfe63ab7
tree509264878099f61ea1290ca65f93401a1bdf9926
parent5ad86e34d86173f6495b38336d377de5b69da853
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.
src/ChangeLog
src/frame.c
src/frame.h
src/gtkutil.c
src/nsterm.m
src/term.c
src/w32fns.c
src/w32term.c
src/window.c
src/xdisp.c
src/xterm.c