diff options
author | sabetts <sabetts> | 2001-06-02 10:22:10 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-06-02 10:22:10 +0000 |
commit | b491c9ed23c5f1345914d0ffb2cbaea9662d1d61 (patch) | |
tree | ca5087349bdbfef4881ff3eda7a602dfe79899d9 /src/list.c | |
parent | 981e11ac363e79419d08c158ceb0d257ee87a69b (diff) | |
download | ratpoison-b491c9ed23c5f1345914d0ffb2cbaea9662d1d61.zip |
* src/list.c (unhide_transient_for): new function
(hide_transient_for): likewise
(set_active_window): print the name of the last and new windows.
(set_active_window): unhide new window's transient_for. hide old
window's transient_for.
* src/list.c (add_to_window_list): use WIN_EVENTS in XSelectInput.
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 27 |
1 files changed, 0 insertions, 27 deletions
@@ -485,33 +485,6 @@ set_active_window (rp_window *win) maximize (win); unhide_window (win); - /* hide the old active window */ -/* if (win->transient */ -/* && find_window (win->transient_for) == last_win) */ -/* { */ -/* /\* Do nothing if the transient is already in the frame *\/ */ -/* } */ -/* else */ -/* { */ -/* if (last_win) */ -/* { */ -/* if(win->transient && last_win->transient */ -/* && find_window (win->transient_for) == find_window (last_win->transient_for)) */ -/* { */ -/* /\* Do nothing if last win's transient is already in the */ -/* frame. *\/ */ -/* } */ -/* else */ -/* { */ -/* hide_transient_for (last_win); */ -/* } */ - -/* hide_window (last_win); */ -/* } */ - - give_window_focus (win, last_win); -/* } */ - /* Make sure the program bar is always on the top */ update_window_names (win->scr); |