Mercurial > hg > xemacs-beta
comparison src/window.c @ 430:a5df635868b2 r21-2-23
Import from CVS: tag r21-2-23
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:29:08 +0200 |
parents | 3ecd8885ac67 |
children | 9d177e8d4150 |
comparison
equal
deleted
inserted
replaced
429:8305706cbb93 | 430:a5df635868b2 |
---|---|
1863 /* At this point, we know the window has a parent. */ | 1863 /* At this point, we know the window has a parent. */ |
1864 parent = w->parent; | 1864 parent = w->parent; |
1865 par = XWINDOW (parent); | 1865 par = XWINDOW (parent); |
1866 | 1866 |
1867 MARK_FRAME_WINDOWS_STRUCTURE_CHANGED (f); | 1867 MARK_FRAME_WINDOWS_STRUCTURE_CHANGED (f); |
1868 /* It's quite likely that deleting a window will result in | |
1869 subwindows needing to be deleted also (since they are cached | |
1870 per-window). So we mark them as changed, so that the cachels will | |
1871 get reset by redisplay and thus deleted subwindows can get | |
1872 GC'd. */ | |
1873 MARK_FRAME_SUBWINDOWS_CHANGED (f); | |
1868 | 1874 |
1869 /* Are we trying to delete any frame's selected window? | 1875 /* Are we trying to delete any frame's selected window? |
1870 Note that we could be dealing with a non-leaf window | 1876 Note that we could be dealing with a non-leaf window |
1871 where the selected window is one of our children. | 1877 where the selected window is one of our children. |
1872 So, we check by scanning all the ancestors of the | 1878 So, we check by scanning all the ancestors of the |