aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-02-05 08:52:26 +0000
committerRichard M. Stallman1995-02-05 08:52:26 +0000
commit29aeee7368893a2913c2351e0abb297a25ca7038 (patch)
treea45d06d46500ab1f857fd2ebeaca454fa4ec4f93 /src
parentadc12f0fcf97f837206a2ea70b77b419a4467433 (diff)
downloademacs-29aeee7368893a2913c2351e0abb297a25ca7038.tar.gz
emacs-29aeee7368893a2913c2351e0abb297a25ca7038.zip
(Fdelete_window, set_window_height, set_window_width)
(Fsplit_window, Fset_window_configuration): Set FRAME_WINDOW_SIZES_CHANGED to 1 in the frame being changed.
Diffstat (limited to 'src')
-rw-r--r--src/window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index 9290fd53254..47b9e120b69 100644
--- a/src/window.c
+++ b/src/window.c
@@ -753,6 +753,7 @@ DEFUN ("delete-window", Fdelete_window, Sdelete_window, 0, 1, "",
753 par = XWINDOW (parent); 753 par = XWINDOW (parent);
754 754
755 windows_or_buffers_changed++; 755 windows_or_buffers_changed++;
756 FRAME_WINDOW_SIZES_CHANGED (XFRAME (WINDOW_FRAME (p))) = 1;
756 757
757 /* Are we trying to delete any frame's selected window? */ 758 /* Are we trying to delete any frame's selected window? */
758 { 759 {
@@ -1606,6 +1607,8 @@ set_window_height (window, height, nodelete)
1606 1607
1607 XSETFASTINT (w->last_modified, 0); 1608 XSETFASTINT (w->last_modified, 0);
1608 windows_or_buffers_changed++; 1609 windows_or_buffers_changed++;
1610 FRAME_WINDOW_SIZES_CHANGED (XFRAME (WINDOW_FRAME (w))) = 1;
1611
1609 XSETFASTINT (w->height, height); 1612 XSETFASTINT (w->height, height);
1610 if (!NILP (w->hchild)) 1613 if (!NILP (w->hchild))
1611 { 1614 {
@@ -1667,6 +1670,8 @@ set_window_width (window, width, nodelete)
1667 1670
1668 XSETFASTINT (w->last_modified, 0); 1671 XSETFASTINT (w->last_modified, 0);
1669 windows_or_buffers_changed++; 1672 windows_or_buffers_changed++;
1673 FRAME_WINDOW_SIZES_CHANGED (XFRAME (WINDOW_FRAME (w))) = 1;
1674
1670 XSETFASTINT (w->width, width); 1675 XSETFASTINT (w->width, width);
1671 if (!NILP (w->vchild)) 1676 if (!NILP (w->vchild))
1672 { 1677 {
@@ -2149,6 +2154,7 @@ and put SIZE columns in the first of the pair.")
2149 if we are making side-by-side windows */ 2154 if we are making side-by-side windows */
2150 2155
2151 windows_or_buffers_changed++; 2156 windows_or_buffers_changed++;
2157 FRAME_WINDOW_SIZES_CHANGED (XFRAME (WINDOW_FRAME (o))) = 1;
2152 new = make_window (); 2158 new = make_window ();
2153 p = XWINDOW (new); 2159 p = XWINDOW (new);
2154 2160
@@ -2844,6 +2850,7 @@ by `current-window-configuration' (which see).")
2844#endif 2850#endif
2845 2851
2846 windows_or_buffers_changed++; 2852 windows_or_buffers_changed++;
2853 FRAME_WINDOW_SIZES_CHANGED (f) = 1;
2847 2854
2848 /* Temporarily avoid any problems with windows that are smaller 2855 /* Temporarily avoid any problems with windows that are smaller
2849 than they are supposed to be. */ 2856 than they are supposed to be. */