diff options
author | sabetts <sabetts> | 2003-08-29 21:17:42 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2003-08-29 21:17:42 +0000 |
commit | e62c770a1ea5d89bb91d9b84ac4a4593bc32ef71 (patch) | |
tree | 26c9377cc6aba4cfe586dbfdafd18a204d14b7f3 /src/main.c | |
parent | 32fb412bee9fefb9d52395377ee9852f869598ec (diff) | |
download | ratpoison-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/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -640,8 +640,7 @@ main (int argc, char *argv[]) /* If no window has focus, give the key_window focus. */ if (current_window() == NULL) - XSetInputFocus (dpy, current_screen()->key_window, - RevertToPointerRoot, CurrentTime); + set_window_focus (current_screen()->key_window); listen_for_events (); |