From: Richard M. Stallman Date: Wed, 22 Nov 1995 12:38:53 +0000 (+0000) Subject: (XTmouse_position): Exit the loop if child == win. X-Git-Tag: emacs-19.34~2233 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9af3143a29edc6d09019dcdebc2129abe118598d;p=emacs.git (XTmouse_position): Exit the loop if child == win. (x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY. --- 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);