diff options
author | sabetts <sabetts> | 2003-02-10 13:43:23 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-02-10 13:43:23 +0000 |
commit | 8a2994e78d00efda379242387d955a42afc10330 (patch) | |
tree | 42ff26d9f6761a0f16f44d9558eb5d61aa82c55d /src/main.c | |
parent | 3aec26ec206dad19fa859f020c384c5dab339ce2 (diff) | |
download | ratpoison-8a2994e78d00efda379242387d955a42afc10330.zip |
* src/split.h (num_frames): new prototype
(resize_shrink_to_window): likewise
(resize_frame_vertically): likewise
(resize_frame_horizontally): likewise
* src/split.c (num_frames): no longer a static function
(resize_shrink_to_window): new function
(resize_frame_vertically): likewise
(resize_frame_horizontally): likewise
* src/main.c (init_defaults): init frame_resize_unit.
* src/data.h (struct rp_defaults): new member frame_resize_unit.
* src/conf.h (RESIZE_VGROW_KEY): new define
(RESIZE_VGROW_MODIFIER): likewise
(RESIZE_VSHRINK_KEY): likewise
(RESIZE_VSHRINK_MODIFIER): likewise
(RESIZE_HGROW_KEY): likewise
(RESIZE_HGROW_MODIFIER): likewise
(RESIZE_HSHRINK_KEY): likewise
(RESIZE_HSHRINK_MODIFIER): likewise
(RESIZE_SHRINK_TO_WINDOW_KEY): likewise
(RESIZE_SHRINK_TO_WINDOW_MODIFIER): likewise
(RESIZE_END_KEY): likewise
(RESIZE_END_MODIFIER): likewise
* src/actions.h (cmd_shrink): new prototype
(cmd_resize): likewise
(cmd_defresizeunit): likewise
* src/actions.c (user_commands): add commands cmd_resize and
cmd_shrink, and cmd_defresizeunit.
(cmd_shrink): new function
(cmd_resize): likewise
(cmd_defresizeunit): likewise
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -460,6 +460,7 @@ init_defaults () defaults.bar_border_width = 1; defaults.frame_indicator_timeout = 1; + defaults.frame_resize_unit = 10; defaults.padding_left = 0; defaults.padding_right = 0; |