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,11 +3515,14 @@ XTread_socket (sd, bufp, numchars, waitp, expected) ...@@ -3515,11 +3515,14 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
the frame's display structures. */ the frame's display structures. */
SET_FRAME_GARBAGED (f); SET_FRAME_GARBAGED (f);
bufp->kind = deiconify_event; if (f->iconified)
XSETFRAME (bufp->frame_or_window, f); {
bufp++; bufp->kind = deiconify_event;
count++; XSETFRAME (bufp->frame_or_window, f);
numchars--; bufp++;
count++;
numchars--;
}
} }
#ifdef USE_X_TOOLKIT #ifdef USE_X_TOOLKIT
goto OTHER; goto OTHER;
......
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