aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.h
diff options
context:
space:
mode:
authorStefan Monnier2008-01-28 19:05:13 +0000
committerStefan Monnier2008-01-28 19:05:13 +0000
commitef264c42097f5317044f6a85f895588184c2dbdd (patch)
tree1932e85110df019104b66f5139e9cd0cc637d1ec /src/window.h
parent10ef2ef78a0f1a25c7bf4176771fda524619446e (diff)
downloademacs-ef264c42097f5317044f6a85f895588184c2dbdd.tar.gz
emacs-ef264c42097f5317044f6a85f895588184c2dbdd.zip
* window.c (run_window_configuration_change_hook): New function.
Code extracted from set_window_buffer. Set the selected frame. (set_window_buffer): Use it. * window.h (run_window_configuration_change_hook): Declare. * dispnew.c (change_frame_size_1): Use it instead of set-window-buffer.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index fb56be8bfb7..b2c62fde01f 100644
--- a/src/window.h
+++ b/src/window.h
@@ -790,6 +790,7 @@ extern void foreach_window P_ ((struct frame *,
790extern void grow_mini_window P_ ((struct window *, int)); 790extern void grow_mini_window P_ ((struct window *, int));
791extern void shrink_mini_window P_ ((struct window *)); 791extern void shrink_mini_window P_ ((struct window *));
792 792
793void run_window_configuration_change_hook (struct frame *f);
793 794
794/* Make WINDOW display BUFFER as its contents. RUN_HOOKS_P non-zero 795/* Make WINDOW display BUFFER as its contents. RUN_HOOKS_P non-zero
795 means it's allowed to run hooks. See make_frame for a case where 796 means it's allowed to run hooks. See make_frame for a case where