&& !update_mode_lines
&& !windows_or_buffers_changed
&& !f->cursor_type_changed
- && !(f != SELECTED_FRAME () && f->redisplay)
+ && !f->redisplay
&& NILP (Vshow_trailing_whitespace)
/* This code is not used for mini-buffer for the sake of the case
of redisplaying to replace an echo area message; since in
/* Don't try to reuse the display if windows have been split
or such. */
|| windows_or_buffers_changed
- || (f != SELECTED_FRAME () && f->redisplay)
+ || f->redisplay
|| f->cursor_type_changed)
return false;
GIVE_UP (1);
/* This flag is used to prevent redisplay optimizations. */
- if (windows_or_buffers_changed || f->cursor_type_changed
- || (f != SELECTED_FRAME () && f->redisplay))
+ if (windows_or_buffers_changed || f->cursor_type_changed || f->redisplay)
GIVE_UP (2);
/* This function's optimizations cannot be used if overlays have