diff options
| author | Richard M. Stallman | 1997-07-19 05:22:59 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-19 05:22:59 +0000 |
| commit | df77d0b27ada80b74d4962808a701c7f7f8c1141 (patch) | |
| tree | 23ce7f7ae2edf353ab08af6334469066f6b884fa /src | |
| parent | ca0afed9a912719a20ea378d58243a09b6fcf2a4 (diff) | |
| download | emacs-df77d0b27ada80b74d4962808a701c7f7f8c1141.tar.gz emacs-df77d0b27ada80b74d4962808a701c7f7f8c1141.zip | |
(redisplay_internal): Calculate new_count properly
for non-window displays.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index d5a867d22b3..80536a3c4cd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -1331,11 +1331,15 @@ update: | |||
| 1331 | FOR_EACH_FRAME (tail, frame) | 1331 | FOR_EACH_FRAME (tail, frame) |
| 1332 | { | 1332 | { |
| 1333 | int this_is_visible = 0; | 1333 | int this_is_visible = 0; |
| 1334 | if (XFRAME (frame)->visible) | 1334 | if (FRAME_WINDOW_P (XFRAME (frame)) |
| 1335 | this_is_visible = 1; | 1335 | || XFRAME (frame) == selected_frame) |
| 1336 | FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); | 1336 | { |
| 1337 | if (XFRAME (frame)->visible) | 1337 | if (XFRAME (frame)->visible) |
| 1338 | this_is_visible = 1; | 1338 | this_is_visible = 1; |
| 1339 | FRAME_SAMPLE_VISIBILITY (XFRAME (frame)); | ||
| 1340 | if (XFRAME (frame)->visible) | ||
| 1341 | this_is_visible = 1; | ||
| 1342 | } | ||
| 1339 | 1343 | ||
| 1340 | if (this_is_visible) | 1344 | if (this_is_visible) |
| 1341 | new_count++; | 1345 | new_count++; |