diff options
author | sabetts <sabetts> | 2006-01-05 04:36:07 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2006-01-05 04:36:07 +0000 |
commit | a83f0a57448524b489e94e06e945e1a551543d94 (patch) | |
tree | c8d9ca53c112579aac06720db704ac55f0a94f0b /src/split.c | |
parent | 1d3b753b428842fc9c0bdc6d9ccc9e2289239ffa (diff) | |
download | ratpoison-a83f0a57448524b489e94e06e945e1a551543d94.zip |
* src/conf.h (ASPECT_WINDOWS_ARE_TRANSIENTS): new define
* src/manage.c (window_is_transient): new function
(maximize_normal): honour aspect ratio hint
* src/window.c (update_window_gravity): use maxsize_gravity for windows with aspect hints.
(set_active_window_body): call window_is_transient
* src/split.c (cleanup_frame): call window_is_transient
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/split.c b/src/split.c index 26231c7..62da8e7 100644 --- a/src/split.c +++ b/src/split.c @@ -82,14 +82,7 @@ cleanup_frame (rp_frame *frame) unhide_window (win); -#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))) -#else - if (!win->transient) -#endif + if (!window_is_transient (win)) hide_others (win); } |