Mercurial > hg > xemacs-beta
comparison src/window.c @ 3078:135bb6aa3ee2
[xemacs-hg @ 2005-11-18 12:23:55 by aidan]
Restore old window configuration behaviour for VM, BBDB
author | aidan |
---|---|
date | Fri, 18 Nov 2005 12:23:57 +0000 |
parents | facf3239ba30 |
children | 141c2920ea48 3742ea8250b5 |
comparison
equal
deleted
inserted
replaced
3077:35ef5091b281 | 3078:135bb6aa3ee2 |
---|---|
4312 w = XWINDOW (window); | 4312 w = XWINDOW (window); |
4313 parent = w->parent; | 4313 parent = w->parent; |
4314 if (NILP (parent)) | 4314 if (NILP (parent)) |
4315 { | 4315 { |
4316 if (widthflag) | 4316 if (widthflag) |
4317 invalid_operation ("No other window to side of this one", Qunbound); | 4317 { |
4318 int new_pixsize; | |
4319 sizep = &CURSIZE (w); | |
4320 dim = CURCHARSIZE (w); | |
4321 new_pixsize = inpixels?(*sizep + delta):(dim+delta); | |
4322 set_window_pixsize (window, new_pixsize, 0, 0); | |
4323 return; | |
4324 } | |
4318 break; | 4325 break; |
4319 } | 4326 } |
4320 if (widthflag | 4327 if (widthflag |
4321 ? !NILP (XWINDOW (parent)->hchild) | 4328 ? !NILP (XWINDOW (parent)->hchild) |
4322 : !NILP (XWINDOW (parent)->vchild)) | 4329 : !NILP (XWINDOW (parent)->vchild)) |