]> git.eshelyaron.com Git - emacs.git/commit
Avoid looping over all frame windows to freeze and unfreeze.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 12 Aug 2013 09:34:00 +0000 (13:34 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 12 Aug 2013 09:34:00 +0000 (13:34 +0400)
commitd2e113bc86fba063f39cf5d1893ee47b4cf43a9a
tree5823ca9a1afdf958f3a9457f90ade72e38732949
parent94fcd171894e3a14d3548c028c4229229e32d184
Avoid looping over all frame windows to freeze and unfreeze.
* window.h (struct window): Drop frozen_window_start_p.
(freeze_window_starts): Drop prototype.
* frame.h (struct frame): New frozen_window_starts flag.
(FRAME_WINDOWS_FROZEN): New macro.
* window.c (freeze_window_start, freeze_window_starts):
Remove.
(select_window, replace_window): Adjust users.
* xdisp.c (resize_mini_window): Use FRAME_WINDOWS_FROZEN.
(window_frozen_p): New function.
(redisplay_window): Use it.
src/ChangeLog
src/frame.h
src/window.c
src/window.h
src/xdisp.c