Mercurial > emacs
comparison src/xterm.c @ 13627:8873aa3451dd
(XTmouse_position): Exit the loop if child == win.
(x_iconify_frame): Call FRAME_SAMPLE_VISIBILITY.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 22 Nov 1995 12:38:53 +0000 |
parents | 4fbb17b559bf |
children | 3fa66bb82d59 |
comparison
equal
deleted
inserted
replaced
13626:177fbffc7359 | 13627:8873aa3451dd |
---|---|
2352 root_x, root_y, &win_x, &win_y, | 2352 root_x, root_y, &win_x, &win_y, |
2353 | 2353 |
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; |
2361 parent_x = win_x; | 2361 parent_x = win_x; |
2362 parent_y = win_y; | 2362 parent_y = win_y; |
5451 | 5451 |
5452 if (f->async_iconified) | 5452 if (f->async_iconified) |
5453 return; | 5453 return; |
5454 | 5454 |
5455 BLOCK_INPUT; | 5455 BLOCK_INPUT; |
5456 | |
5457 FRAME_SAMPLE_VISIBILITY (f); | |
5456 | 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); |
5460 | 5462 |