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

@ -261,8 +261,7 @@ meta_window_present_delete_dialog (MetaWindow *window, guint32 timestamp)
{
MetaWindow *w = tmp->data;
if (w->xtransient_for == window->xwindow &&
w->res_class &&
if (w->transient_for == window && w->res_class &&
g_ascii_strcasecmp (w->res_class, "mutter-dialog") == 0)
{
meta_window_activate (w, timestamp);