From 91f51337b0470f31e4dbca0b8a27345b9cfa52e8 Mon Sep 17 00:00:00 2001 From: sabetts Date: Thu, 8 Mar 2007 08:43:35 +0000 Subject: * 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 --- doc/ratpoison.1 | 5 +++++ doc/ratpoison.texi | 11 +++++++++++ 2 files changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/ratpoison.1 b/doc/ratpoison.1 index 6497bd1..3d83fb1 100644 --- a/doc/ratpoison.1 +++ b/doc/ratpoison.1 @@ -739,6 +739,11 @@ Default is 1. Determine the width of the input window. .br Default is 200. +.var barinpadding \fB0 | \fB1 +If there is padding, determines whether the bar appears at the edge of the +screen (\fB1\fP) or at the edge of the window area (\fB0\fP). +.br +Default is 0. .var topkmap kmap Make \fIkmap\fP the top keymap ratpoison graps directly. The default value is \fBtop\fP. diff --git a/doc/ratpoison.texi b/doc/ratpoison.texi index 75a98ac..9b8ec84 100644 --- a/doc/ratpoison.texi +++ b/doc/ratpoison.texi @@ -1362,6 +1362,17 @@ When called with no arguments, the current setting is returned. @end deffn +@deffn Command {set barinpadding} @var{n} +@c @deffnx Command defbarinpadding @var{n} +Set whether the bar window appears at the edge of the screen when there is +padding -- that is, within the "padding" area -- or whether it appears at the +edge of the window area. "1" represents the former, "0" the latter. See the +@command{set padding} and @command{set bargravity} commands. + +When called with no arguments, the current setting is returned. +@end deffn + + @node Using Other Window Managers, Other Commands, The Status Bar, Top @chapter Using Other Window Managers -- cgit v1.2.3