diff options
author | sabetts <sabetts> | 2001-04-01 01:17:53 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-04-01 01:17:53 +0000 |
commit | 299d16aa6ae37bd73ae92ee8a5d1c6715682ee35 (patch) | |
tree | 2361849e3956311464ab696132f35ed931946fd1 /src/actions.h | |
parent | f04f2c8483f144d20caa9ee7103a0eca8493545f (diff) | |
download | ratpoison-299d16aa6ae37bd73ae92ee8a5d1c6715682ee35.zip |
* src/split.h (find_window_for_frame): new function prototype
(find_window_for_frame): likewise
(find_window_for_frame): likewise
(find_window_for_frame): likewise
(find_window_for_frame): likewise
* src/split.c (window_fits_in_frame): new function
(find_window_for_frame): likewise
(split_window): likewise
(v_split_window): likewise
(h_split_window): likewise
(remove_all_frames): likewise
(frame_is_below): likewise
(frame_is_above): likewise
(frame_is_left): likewise
(frame_is_right): likewise
(total_frame_area): likewise
(num_frames): likewise
(frames_overlap): likewise
(frame_overlaps): likewise
(remove_frame): likewise
* src/ratpoison.h: includes "split.h"
* src/manage.c (unmanage): calls free_window
(maximize_transient): takes the window's frame into account
(maximize_normal): likewise
* src/list.h (find_window_prev_with_frame): new function prototype
(find_window_next_with_frame): likewise
(free_window): likewise
* src/list.c (free_window): new function
(add_to_window_list): initialize new window's frame to NULL.
(find_window_prev): skips windows with frames
(find_window_next): likewise
(find_window_other): likewise
(find_window_prev_with_frame): new function
(find_window_next_with_frame): new function
(set_active_window): returns if the specified window is already
the current window.
(set_active_window): If the new window has no frame it inherits
the current window's frame.
(set_active_window): maximize and raise the newly active window.
* src/events.c (unmap_notify): handles window frames.
(destroy_window): simplified
* src/data.h (struct rp_window_frame): new struct
(struct rp_window): add frame variable
* src/conf.h (WINDOW_BORDER_WIDTH): set to 1
* src/actions.h (cmd_next_frame): new function prototype
(cmd_prev_frame): likewise
(cmd_h_split): likewise
(cmd_v_split): likewise
(cmd_only): likewise
(cmd_remove): likewise
* src/actions.c (initialize_default_keybindings): new default
bindings for "split", "vsplit", "focus", "only", "remove"
(user_commands): new user commands "split", "vsplit", "focus",
"only", "remove"
(cmd_prev_frame): new function
(cmd_next_frame): likewise
(cmd_h_split): likewise
(cmd_v_split): likewise
(cmd_only): likewise
(cmd_remove): likewise
* src/Makefile.am (ratpoison_SOURCES): new files split.c split.h
Diffstat (limited to 'src/actions.h')
-rw-r--r-- | src/actions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions.h b/src/actions.h index 7d0633e..3438685 100644 --- a/src/actions.h +++ b/src/actions.h @@ -52,7 +52,9 @@ void cmd_rename (void *data); void cmd_select (void *data); void cmd_last (void *data); void cmd_next (void *data); +void cmd_next_frame (void *data); void cmd_prev (void *data); +void cmd_prev_frame (void *data); void cmd_windows (void *data); void cmd_other (void *data); void cmd_clock (void *data); @@ -63,6 +65,10 @@ void cmd_source (void* data); void cmd_maximize (void *data); void cmd_escape (void *data); void cmd_echo (void *data); +void cmd_h_split (void *data); +void cmd_v_split (void *data); +void cmd_only (void *data); +void cmd_remove (void *data); /* void cmd_xterm (void *data); */ |