(XTmouse_position): Exit the loop if child == win.
(x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
This commit is contained in:
parent
88d9cecbc6
commit
9af3143a29
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue