[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: check_min_window_sizes]
From: |
Chong Yidong |
Subject: |
Re: address@hidden: check_min_window_sizes] |
Date: |
Fri, 17 Feb 2006 22:58:49 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> With Emacs -q evaluating
>
> (progn
> (split-window-horizontally)
> (let ((window-min-width 1))
> (shrink-window (1- (window-width)) t)))
>
> removes scrollbars from both emanating windows and makes the left window
> inaccessible. For some strange reason `check_min_window_sizes' seems to
> fail here.
This patch removes the bug. But I am not very familiar with the
window code, so if someone could check that this is correct, it'd be
great.
*** emacs/src/window.c.~1.534.~ 2006-02-17 22:53:49.000000000 -0500
--- emacs/src/window.c 2006-02-17 22:56:56.000000000 -0500
***************
*** 4064,4070 ****
this_one = delta;
(*setsizefun) (next, (*sizefun) (next) - this_one, 0);
! (*setsizefun) (window, XINT (*sizep) + this_one, 0);
delta -= this_one;
}
--- 4064,4070 ----
this_one = delta;
(*setsizefun) (next, (*sizefun) (next) - this_one, 0);
! (*setsizefun) (window, XINT (*sizep) + this_one, 1);
delta -= this_one;
}
- address@hidden: check_min_window_sizes], Richard M. Stallman, 2006/02/12
- Re: address@hidden: check_min_window_sizes],
Chong Yidong <=
- Re: address@hidden: check_min_window_sizes], Chong Yidong, 2006/02/18
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/18
- Re: address@hidden: check_min_window_sizes], Chong Yidong, 2006/02/18
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/19
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/20
- Re: address@hidden: check_min_window_sizes], Richard Stallman, 2006/02/27