summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-08-23 00:46:13 +0000
committersabetts <sabetts>2001-08-23 00:46:13 +0000
commitd86a6d1adada6ce07151306973d29b0c62235701 (patch)
treefcd47634940d2ef00b69879fa6b16ef99ce40ab0 /src/list.c
parent5e7dd7abb7dde043100815c99b038dffd462bad9 (diff)
downloadratpoison-d86a6d1adada6ce07151306973d29b0c62235701.zip
another transient window hiding bug fix
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index b3f97bd..4d0cc8e 100644
--- a/src/list.c
+++ b/src/list.c
@@ -529,6 +529,12 @@ set_active_window (rp_window *win)
/* We only need to hide the transients "between" last_win and win */
hide_transient_for_between (last_win, win);
}
+ else if (last_win && last_win->transient && win->transient &&
+ last_win->transient_for == win->transient_for)
+ {
+ /* Both last_win and win have the same transient_for so we
+ don't need to hide anything more */
+ }
else
{
hide_transient_for (last_win);