diff options
author | Kipling Inscore <k@bijna.net> | 2008-08-03 11:40:42 -0700 |
---|---|---|
committer | Shawn <sabetts@juicebox.(none)> | 2008-10-10 13:07:47 -0700 |
commit | 497fb323835bbb3cceb39874e7555b565863c7e8 (patch) | |
tree | 5d2e5495b879cd1e4dfbbbd0b8913685adf86d55 /src/split.c | |
parent | b47008536843fe9dfa5790581228f42d5c83ee80 (diff) | |
download | ratpoison-497fb323835bbb3cceb39874e7555b565863c7e8.zip |
allow window border color to be set seperately for focused and unfocused windows
Diffstat (limited to 'src/split.c')
-rw-r--r-- | src/split.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/split.c b/src/split.c index 9b1d41b..561e928 100644 --- a/src/split.c +++ b/src/split.c @@ -806,9 +806,10 @@ remove_frame (rp_frame *frame) the new frame size. */ if (cur->win_number != EMPTY) { - win = find_window_number (cur->win_number); + rp_window *new = find_window_number (cur->win_number); maximize_all_windows_in_frame (cur); - XRaiseWindow (dpy, win->w); + give_window_focus (new, win); + XRaiseWindow (dpy, new->w); } } else |