summaryrefslogtreecommitdiff
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
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.
-rw-r--r--ChangeLog18
-rw-r--r--src/list.c27
2 files changed, 18 insertions, 27 deletions
diff --git a/ChangeLog b/ChangeLog
index 71d4500..5ad57a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2001-06-02 shawn <sabetts@diggin.lamenet.tmp>
+ * src/split.c (blank_frame): hide transient's transient_for.
+
+ * src/manage.c (unhide_below_window): new function
+
+ * src/manage.h (unhide_below_window): new prototype
+
+ * src/list.h (unhide_transient_for): new prototype
+ (hide_transient_for): likewise
+
+ * 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/events.c (cleanup_frame): hide any transients for the old
+ window and unhide any transients for the new one.
+
* src/manage.c (hide_window): ignore unmap_notify events when
unmapping the window.
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);