# HG changeset patch # User Karl Heuer # Date 783921650 0 # Node ID e6dbda62fd619aea23fe6fafd8a76962bc0763a7 # Parent 248462096d253b30b247af086606a824e8731957 (XTread_socket): Generate iconify and deiconify events. diff -r 248462096d25 -r e6dbda62fd61 src/xterm.c --- a/src/xterm.c Thu Nov 03 21:23:40 1994 +0000 +++ b/src/xterm.c Fri Nov 04 04:00:50 1994 +0000 @@ -3457,6 +3457,12 @@ We depend on x_make_frame_invisible to mark it iconified. */ if (FRAME_VISIBLE_P (f) || FRAME_ICONIFIED_P (f)) f->async_iconified = 1; + + bufp->kind = iconify_event; + XSETFRAME (bufp->frame_or_window, f); + bufp++; + count++; + numchars--; } #ifdef USE_X_TOOLKIT goto OTHER; @@ -3475,6 +3481,12 @@ /* wait_reading_process_input will notice this and update the frame's display structures. */ SET_FRAME_GARBAGED (f); + + bufp->kind = deiconify_event; + XSETFRAME (bufp->frame_or_window, f); + bufp++; + count++; + numchars--; } #ifdef USE_X_TOOLKIT goto OTHER;