diff options
author | sabetts <sabetts> | 2006-01-03 21:34:20 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-01-03 21:34:20 +0000 |
commit | 1d3b753b428842fc9c0bdc6d9ccc9e2289239ffa (patch) | |
tree | 99e3b68f6d43a05ec936912c1a101eca88584cc6 /src/split.c | |
parent | 4d51c49a9428837d6adc638f442717178b2d2b2f (diff) | |
download | ratpoison-1d3b753b428842fc9c0bdc6d9ccc9e2289239ffa.zip |
* src/number.c (numset_add_num): store the ret val of
numset_find_empty_cell in a variable and use it as an index into
the numbers_taken array.
* src/actions.c (cmd_curframe): return the frame number in
non-interactive mode.
* src/split.c (cleanup_frame): in the maxsize windows are
transients check either the width or height must be less than the
screen width/height (just like in windows.c).
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c index e481670..26231c7 100644 --- a/src/split.c +++ b/src/split.c @@ -85,8 +85,8 @@ cleanup_frame (rp_frame *frame) #ifdef MAXSIZE_WINDOWS_ARE_TRANSIENTS if (!win->transient && !(win->hints->flags & PMaxSize - && win->hints->max_width < win->scr->width - && win->hints->max_height < win->scr->height)) + && (win->hints->max_width < win->scr->width + || win->hints->max_height < win->scr->height))) #else if (!win->transient) #endif |