diff options
| author | Dmitry Antipov | 2013-01-24 09:41:28 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-01-24 09:41:28 +0400 |
| commit | edfa7fa092c303265edeb2a0b530463cdfe63ab7 (patch) | |
| tree | 509264878099f61ea1290ca65f93401a1bdf9926 /src/gtkutil.c | |
| parent | 5ad86e34d86173f6495b38336d377de5b69da853 (diff) | |
| download | emacs-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/gtkutil.c')
| -rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index d5bc159c063..4771d34b4a0 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -983,7 +983,7 @@ xg_frame_set_char_size (FRAME_PTR f, int cols, int rows) | |||
| 983 | size as fast as possible. | 983 | size as fast as possible. |
| 984 | For unmapped windows, we can set rows/cols. When | 984 | For unmapped windows, we can set rows/cols. When |
| 985 | the frame is mapped again we will (hopefully) get the correct size. */ | 985 | the frame is mapped again we will (hopefully) get the correct size. */ |
| 986 | if (f->async_visible) | 986 | if (FRAME_VISIBLE_P (f)) |
| 987 | { | 987 | { |
| 988 | /* Must call this to flush out events */ | 988 | /* Must call this to flush out events */ |
| 989 | (void)gtk_events_pending (); | 989 | (void)gtk_events_pending (); |