Commit d806e720 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(XTread_socket): Make deiconify event only if frame was iconified.

parent 70d4013c
......@@ -3515,12 +3515,15 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
the frame's display structures. */
SET_FRAME_GARBAGED (f);
if (f->iconified)
{
bufp->kind = deiconify_event;
XSETFRAME (bufp->frame_or_window, f);
bufp++;
count++;
numchars--;
}
}
#ifdef USE_X_TOOLKIT
goto OTHER;
#endif /* USE_X_TOOLKIT */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment