summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2003-08-29 21:17:42 +0000
committersabetts <sabetts>2003-08-29 21:17:42 +0000
commite62c770a1ea5d89bb91d9b84ac4a4593bc32ef71 (patch)
tree26c9377cc6aba4cfe586dbfdafd18a204d14b7f3 /src/window.c
parent32fb412bee9fefb9d52395377ee9852f869598ec (diff)
downloadratpoison-e62c770a1ea5d89bb91d9b84ac4a4593bc32ef71.zip
* src/window.c (give_window_focus): use set_rp_window_focus.
* src/split.c (set_active_frame): use set_window_focus. (blank_frame): likewise * src/main.c (main): use set_window_focus. * src/input.c (get_more_input): use set_window_focus * src/globals.h (set_window_focus): new prototype (set_rp_window_focus): likewise * src/events.c (handle_key): use set_window_focus. * src/actions.c (cmd_resize): use set_window_focus. (cmd_license): likewise (cmd_help): likewise (cmd_tmpwm): likewise (cmd_fselect): likewise * src/globals.c (set_rp_window_focus): new function (set_window_focus): likewise
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 17098fe..1ac063c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -345,8 +345,7 @@ give_window_focus (rp_window *win, rp_window *last_win)
/* Finally, give the window focus */
rp_current_screen = win->scr->screen_num;
- XSetInputFocus (dpy, win->w,
- RevertToPointerRoot, CurrentTime);
+ set_rp_window_focus (win);
XSync (dpy, False);
}