diff options
author | sabetts <sabetts> | 2007-03-08 08:43:35 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2007-03-08 08:43:35 +0000 |
commit | 91f51337b0470f31e4dbca0b8a27345b9cfa52e8 (patch) | |
tree | 345ab3fe99dec5d93d21105776e0466758f06df9 /src/globals.c | |
parent | c54d996f7a123eecbd4702414bd163a9f33327d0 (diff) | |
download | ratpoison-91f51337b0470f31e4dbca0b8a27345b9cfa52e8.zip |
* src/split.c (set_active_frame): call switch_frame hook
(show_frame_indicator): only show frame indicator
(set_active_frame): new arg force_indicator. all callers updated.
(show_frame_indicator): new arg force. all callers updated.
* src/main.c (init_defaults): init bar_in_padding
* src/globals.c (rp_switch_screen_hook): new hook
* src/data.h (struct rp_defaults): new slot, bar_in_padding
* src/bar.c (bar_x): honour bar_in_padding setting
(bar_y): likewise
* src/actions.c (init_set_vars): add barinpadding
(set_barinpadding): new function
* src/globals.h: new global rp_switch_screen_hook
Diffstat (limited to 'src/globals.c')
-rw-r--r-- | src/globals.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.c b/src/globals.c index 42fc985..844e9d4 100644 --- a/src/globals.c +++ b/src/globals.c @@ -223,6 +223,7 @@ LIST_HEAD (rp_key_hook); LIST_HEAD (rp_switch_win_hook); LIST_HEAD (rp_switch_frame_hook); LIST_HEAD (rp_switch_group_hook); +LIST_HEAD (rp_switch_screen_hook); LIST_HEAD (rp_quit_hook); LIST_HEAD (rp_restart_hook); LIST_HEAD (rp_delete_window_hook); @@ -232,6 +233,7 @@ struct rp_hook_db_entry rp_hook_db[]= {"switchwin", &rp_switch_win_hook}, {"switchframe", &rp_switch_frame_hook}, {"switchgroup", &rp_switch_group_hook}, + {"switchscreen", &rp_switch_screen_hook}, {"deletewindow", &rp_delete_window_hook}, {"quit", &rp_quit_hook}, {"restart", &rp_restart_hook}, |