summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2007-03-08 08:43:35 +0000
committersabetts <sabetts>2007-03-08 08:43:35 +0000
commit91f51337b0470f31e4dbca0b8a27345b9cfa52e8 (patch)
tree345ab3fe99dec5d93d21105776e0466758f06df9 /src/window.c
parentc54d996f7a123eecbd4702414bd163a9f33327d0 (diff)
downloadratpoison-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/window.c')
-rw-r--r--src/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/window.c b/src/window.c
index 737cc40..1ae5201 100644
--- a/src/window.c
+++ b/src/window.c
@@ -614,7 +614,7 @@ set_active_window_body (rp_window *win, int force)
{
if (!cur->dedicated)
{
- set_active_frame (cur);
+ set_active_frame (cur, 0);
last_frame = frame;
frame = cur;
done = 1;
@@ -633,7 +633,7 @@ set_active_window_body (rp_window *win, int force)
{
if (!cur->dedicated)
{
- set_active_frame (cur);
+ set_active_frame (cur, 0);
last_frame = frame;
frame = cur;
done = 1; /* Break outer loop. */
@@ -667,7 +667,7 @@ set_active_window_body (rp_window *win, int force)
/* If we switched frame, go back to the old one. */
if (last_frame)
- set_active_frame (last_frame);
+ set_active_frame (last_frame, 0);
/* Call the switch window hook */
hook_run (&rp_switch_win_hook);
@@ -687,7 +687,7 @@ goto_window (rp_window *win)
frame = find_windows_frame (win);
if (frame)
{
- set_active_frame (frame);
+ set_active_frame (frame, 0);
}
else
{