From 4b3a8fefb65c4c57ab7d62584ae6217cd7238d4e Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 12 Jan 2009 16:40:25 +0000 Subject: [PATCH] Fixed mutter_window_is_override_redirect() Broken in course of override redirect core changes. --- src/compositor/mutter/compositor-mutter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;