diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index ae2aa688af..b046669619 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -7304,7 +7304,7 @@ gtk_window_draw (GtkWidget *widget, if (GTK_WIDGET_CLASS (gtk_window_parent_class)->draw) ret = GTK_WIDGET_CLASS (gtk_window_parent_class)->draw (widget, cr); - if (priv->grip_window != NULL && + if (priv->resize_grip_visible && gtk_cairo_should_draw_window (cr, priv->grip_window)) { GdkRectangle rect;