diff --git a/src/compositor/mutter/compositor-mutter.c b/src/compositor/mutter/compositor-mutter.c index 5dafd2f0a..65c1cd357 100644 --- a/src/compositor/mutter/compositor-mutter.c +++ b/src/compositor/mutter/compositor-mutter.c @@ -683,7 +683,7 @@ mutter_window_get_window_type (MutterWindow *mcw) gboolean mutter_window_is_override_redirect (MutterWindow *mcw) { - if (!mcw->priv->window) + if (mcw->priv->window->override_redirect) return TRUE; return FALSE;