Replace wm_state_modal usage with META_WINDOW_TYPE_DIALOG

This commit is contained in:
Jasper St. Pierre
2014-03-18 10:58:26 -04:00
parent cdb7947dd1
commit 7504f16e59
2 changed files with 2 additions and 2 deletions

View File

@ -5687,7 +5687,7 @@ get_modal_transient (MetaWindow *window)
MetaWindow *transient = tmp->data;
if (transient->transient_for == modal_transient &&
transient->wm_state_modal)
transient->type == META_WINDOW_MODAL_DIALOG)
{
modal_transient = transient;
tmp = windows;