[Xfce4-commits] [xfce/xfwm4] 01/03: transients: Search for both client and window frame
noreply at xfce.org
noreply at xfce.org
Wed Aug 1 23:22:43 CEST 2018
This is an automated email from the git hooks/post-receive script.
o l i v i e r p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfwm4.
commit 95f6f7f85c04221794dcf66a4e1f312b7ce121f2
Author: Olivier Fourdan <fourdan at xfce.org>
Date: Wed Aug 1 23:10:53 2018 +0200
transients: Search for both client and window frame
Bug: 12206
Android Virtual Device emulator marks its utility window as a transient,
but xfwm4 fails to to match it against the emulator window, which breaks
the transient relationship.
As the AVD emulator raises its utility window, it grabs focus and causes
sort of problems.
Look for both window and frame windows when matching transients.
Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
src/transients.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/transients.c b/src/transients.c
index 8eac2f0..5e1844e 100644
--- a/src/transients.c
+++ b/src/transients.c
@@ -41,7 +41,7 @@ clientGetTransient (Client * c)
if ((c->transient_for) && (c->transient_for != c->screen_info->xroot))
{
- return myScreenGetClientFromWindow (c->screen_info, c->transient_for, SEARCH_WINDOW);
+ return myScreenGetClientFromWindow (c->screen_info, c->transient_for, SEARCH_WINDOW|SEARCH_FRAME);
}
return NULL;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list