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/conf.h | |
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/conf.h')
-rw-r--r-- | src/conf.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -71,6 +71,10 @@ (don't hide the windows underneath, and center them) */ #define MAXSIZE_WINDOWS_ARE_TRANSIENTS +/* Treat windows with aspect hints as if they were a transient window + (don't hide the windows underneath, and center them) */ +#define ASPECT_WINDOWS_ARE_TRANSIENTS + /* An alias command could recursively call inself infinitely. This stops that behavior. */ #define MAX_ALIAS_RECURSIVE_DEPTH 16 |