Mercurial > emacs
comparison src/window.c @ 10666:e1dfb47b664e
(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.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 05 Feb 1995 08:52:26 +0000 |
parents | d3dee0c530d6 |
children | 64fcde7a1438 |
comparison
equal
deleted
inserted
replaced
10665:4e7da2fc451b | 10666:e1dfb47b664e |
---|---|
751 if (NILP (parent)) | 751 if (NILP (parent)) |
752 error ("Attempt to delete minibuffer or sole ordinary window"); | 752 error ("Attempt to delete minibuffer or sole ordinary window"); |
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 { |
759 Lisp_Object frame, pwindow; | 760 Lisp_Object frame, pwindow; |
760 | 761 |
1604 return; | 1605 return; |
1605 } | 1606 } |
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 { |
1612 for (child = w->hchild; !NILP (child); child = XWINDOW (child)->next) | 1615 for (child = w->hchild; !NILP (child); child = XWINDOW (child)->next) |
1613 { | 1616 { |
1665 return; | 1668 return; |
1666 } | 1669 } |
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 { |
1673 for (child = w->vchild; !NILP (child); child = XWINDOW (child)->next) | 1678 for (child = w->vchild; !NILP (child); child = XWINDOW (child)->next) |
1674 { | 1679 { |
2147 /* Now we know that window's parent is a vertical combination | 2152 /* Now we know that window's parent is a vertical combination |
2148 if we are dividing vertically, or a horizontal combination | 2153 if we are dividing vertically, or a horizontal combination |
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 |
2155 p->frame = o->frame; | 2161 p->frame = o->frame; |
2156 p->next = o->next; | 2162 p->next = o->next; |
2842 != previous_frame_menu_bar_lines) | 2848 != previous_frame_menu_bar_lines) |
2843 x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); | 2849 x_set_menu_bar_lines (f, data->frame_menu_bar_lines, 0); |
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. */ |
2850 window_min_height = 1; | 2857 window_min_height = 1; |
2851 window_min_width = 1; | 2858 window_min_width = 1; |