summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-11-22 12:38:53 +0000
committerRichard M. Stallman <rms@gnu.org>1995-11-22 12:38:53 +0000
commit40952fe9f59b585167f8cd4986931a3734ba6f58 (patch)
tree18a4931d9c5dd5dbde5315c20a08bf9662db31aa /src
parent24f993d2c505d16a3861247af44a7a0d31b7342f (diff)
downloademacs-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.c4
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);