summaryrefslogtreecommitdiff
path: root/src/manage.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/manage.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/manage.h')
-rw-r--r--src/manage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/manage.h b/src/manage.h
index d24c343..6b15f98 100644
--- a/src/manage.h
+++ b/src/manage.h
@@ -38,6 +38,7 @@ void send_configure (Window w, int x, int y, int width, int height, int border);
void set_state (rp_window *win, int state);
long get_state (rp_window *win);
+int window_is_transient (rp_window *win);
void update_window_information (rp_window *win);
void map_window (rp_window *win);