diff options
author | sabetts <sabetts> | 2001-03-01 05:01:29 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-03-01 05:01:29 +0000 |
commit | db8f252fca8d05f3f79ecbec76b85bb89df5581d (patch) | |
tree | 6a0d2095b805603c407f4bdda9c88bfb5d5af6b1 /src/manage.h | |
parent | 811441c3d6f45b4d6eebbf919dac160619a3a389 (diff) | |
download | ratpoison-db8f252fca8d05f3f79ecbec76b85bb89df5581d.zip |
* manage.c (map_window): calls update_window_information.
* manage.h (map_window): new prototype.
* events.c (new_window): calls update_window_information on new windows.
(map_request): calls map_window on managed unmapped windows.
(configure_request): removed commented out old crusty
code. Updates window's structure based on what bits are set in the
event's value_mask. Doesn't honour resize request. Windows are
always maximized.
(property_notify): doesn't call maximize when WM_NORMAL_HINTS are
updated.
* manage.c (manage): no longer maps the window, this code is in
map_window.
(map_window): new function
(maximize): no longer sends a synthetic configure event.
(scanwins): calls map_window on viewable windows.
(update_window_information): renamed from manage. dependant code
updated.
Diffstat (limited to 'src/manage.h')
-rw-r--r-- | src/manage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/manage.h b/src/manage.h index 35189f6..22a6127 100644 --- a/src/manage.h +++ b/src/manage.h @@ -27,7 +27,6 @@ int unmanaged_window (Window w); screen_info* current_screen (); void scanwins(screen_info *s); -void manage (rp_window *w, screen_info *s); void unmanage (rp_window *w); int update_window_name (rp_window *win); void update_normal_hints (rp_window *win); @@ -35,6 +34,9 @@ void rename_current_window (); void send_configure (rp_window *win); void set_state (rp_window *win, int state); +void update_window_information (rp_window *win); +void map_window (rp_window *win); + void maximize (rp_window *win); void force_maximize (rp_window *win); |