diff options
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) | |||
| 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); |