diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-11-22 12:38:53 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-11-22 12:38:53 +0000 |
commit | 40952fe9f59b585167f8cd4986931a3734ba6f58 (patch) | |
tree | 18a4931d9c5dd5dbde5315c20a08bf9662db31aa /src | |
parent | 24f993d2c505d16a3861247af44a7a0d31b7342f (diff) | |
download | emacs-40952fe9f59b585167f8cd4986931a3734ba6f58.tar.gz |
(XTmouse_position): Exit the loop if child == win.
(x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
Diffstat (limited to 'src')
-rw-r--r-- | src/xterm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index f1f312a55f5..906709fe99e 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2354,7 +2354,7 @@ XTmouse_position (fp, insist, bar_window, part, x, y, time) /* Child of win. */ &child); - if (child == None) + if (child == None || child == win) break; win = child; @@ -5454,6 +5454,8 @@ x_iconify_frame (f) BLOCK_INPUT; + FRAME_SAMPLE_VISIBILITY (f); + type = x_icon_type (f); if (!NILP (type)) x_bitmap_icon (f, type); |