mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 21:20:45 -08:00
(XTread_socket): Make deiconify event only if frame was iconified.
This commit is contained in:
parent
70d4013c16
commit
d806e7202a
1 changed files with 8 additions and 5 deletions
13
src/xterm.c
13
src/xterm.c
|
|
@ -3515,11 +3515,14 @@ XTread_socket (sd, bufp, numchars, waitp, expected)
|
|||
the frame's display structures. */
|
||||
SET_FRAME_GARBAGED (f);
|
||||
|
||||
bufp->kind = deiconify_event;
|
||||
XSETFRAME (bufp->frame_or_window, f);
|
||||
bufp++;
|
||||
count++;
|
||||
numchars--;
|
||||
if (f->iconified)
|
||||
{
|
||||
bufp->kind = deiconify_event;
|
||||
XSETFRAME (bufp->frame_or_window, f);
|
||||
bufp++;
|
||||
count++;
|
||||
numchars--;
|
||||
}
|
||||
}
|
||||
#ifdef USE_X_TOOLKIT
|
||||
goto OTHER;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue