summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-06-02 10:22:10 +0000
committersabetts <sabetts>2001-06-02 10:22:10 +0000
commitb491c9ed23c5f1345914d0ffb2cbaea9662d1d61 (patch)
treeca5087349bdbfef4881ff3eda7a602dfe79899d9 /src/list.c
parent981e11ac363e79419d08c158ceb0d257ee87a69b (diff)
downloadratpoison-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.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/list.c b/src/list.c
index 0a5b96e..7751c69 100644
--- a/src/list.c
+++ b/src/list.c
@@ -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);