Skip to content
Snippets Groups Projects
Commit 47cd7c46 authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Fix bug #273

(Old svn revision: 11899)
parent 306c190a
No related branches found
No related tags found
No related merge requests found
......@@ -101,13 +101,13 @@ clientIsTransientFor (Client * c1, Client * c2)
TRACE ("entering clientIsTransientFor");
if ((c1->transient_for) && (c1->serial >= c2->serial))
if (c1->transient_for)
{
if (c1->transient_for != c1->screen_info->xroot)
{
return (c1->transient_for == c2->window);
}
else
else if (c1->serial >= c2->serial)
{
return (clientSameGroup (c1, c2));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment