Commit a1efc69f authored by Olivier Fourdan's avatar Olivier Fourdan 🛠

client: Allow transients for group to be minimized

We would not allow transients for group to be minimized as long as a
parent is still visible.

Be more lenient with those, allow those to be minimized independently
of their parents.
Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <fourdan@xfce.org>
Closes: #349
parent 65c168ab
Pipeline #4153 passed with stages
in 3 minutes and 3 seconds
......@@ -2502,8 +2502,8 @@ clientWithdraw (Client *c, guint ws, gboolean iconify)
if (clientIsTransientOrModalForGroup (c2))
{
if (clientTransientOrModalHasAncestor (c2, c2->win_workspace))
if ((c2 != c) &&
clientTransientOrModalHasAncestor (c2, c2->win_workspace))
{
/* Other ancestors for that transient for group are still
* visible on current workspace, so don't hide it...
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment