summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2006-01-05 04:36:07 +0000
committersabetts <sabetts>2006-01-05 04:36:07 +0000
commita83f0a57448524b489e94e06e945e1a551543d94 (patch)
treec8d9ca53c112579aac06720db704ac55f0a94f0b /src/conf.h
parent1d3b753b428842fc9c0bdc6d9ccc9e2289239ffa (diff)
downloadratpoison-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/conf.h b/src/conf.h
index 9475182..34fa4d5 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -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