diff options
author | Olivier Fourdan <fourdan@xfce.org> | 2018-08-01 23:10:53 +0200 |
---|---|---|
committer | Olivier Fourdan <fourdan@xfce.org> | 2018-08-01 23:21:57 +0200 |
commit | 95f6f7f85c04221794dcf66a4e1f312b7ce121f2 (patch) | |
tree | 2efb779552dbc9dd18b467d65ad720e6b3c1d715 | |
parent | 1f757622d4ed6111e87affac7d0122c8579bee8e (diff) | |
download | xfwm4-95f6f7f85c04221794dcf66a4e1f312b7ce121f2.tar.gz |
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@xfce.org>
-rw-r--r-- | src/transients.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transients.c b/src/transients.c index 8eac2f057..5e1844eb6 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; } |