aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-22 12:38:53 +0000
committerRichard M. Stallman1995-11-22 12:38:53 +0000
commit9af3143a29edc6d09019dcdebc2129abe118598d (patch)
tree0ab91b8bd2c4a04dad785fd1219412b33cbebed3
parent88d9cecbc62b1eaaa66bc4fda97ba3582456b4b4 (diff)
downloademacs-9af3143a29edc6d09019dcdebc2129abe118598d.tar.gz
emacs-9af3143a29edc6d09019dcdebc2129abe118598d.zip
(XTmouse_position): Exit the loop if child == win.
(x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
-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)
2354 /* Child of win. */ 2354 /* Child of win. */
2355 &child); 2355 &child);
2356 2356
2357 if (child == None) 2357 if (child == None || child == win)
2358 break; 2358 break;
2359 2359
2360 win = child; 2360 win = child;
@@ -5454,6 +5454,8 @@ x_iconify_frame (f)
5454 5454
5455 BLOCK_INPUT; 5455 BLOCK_INPUT;
5456 5456
5457 FRAME_SAMPLE_VISIBILITY (f);
5458
5457 type = x_icon_type (f); 5459 type = x_icon_type (f);
5458 if (!NILP (type)) 5460 if (!NILP (type))
5459 x_bitmap_icon (f, type); 5461 x_bitmap_icon (f, type);