Start hacking out use of xtransient_for

It won't work under Wayland.
This commit is contained in:
Jasper St. Pierre
2014-03-18 10:12:44 -04:00
parent f11bf44525
commit ada9610e30
3 changed files with 8 additions and 17 deletions

View File

@ -1746,8 +1746,7 @@ get_default_focus_window (MetaStack *stack,
if (not_this_one != NULL)
{
if (transient_parent == NULL &&
not_this_one->xtransient_for != None &&
not_this_one->xtransient_for == window->xwindow)
meta_window_get_transient_for (not_this_one) == window)
transient_parent = window;
if (topmost_in_group == NULL &&