summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghbcompositor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/ghbcompositor.c')
-rw-r--r--gtk/src/ghbcompositor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/src/ghbcompositor.c b/gtk/src/ghbcompositor.c
index 486ed420c..d1517340c 100644
--- a/gtk/src/ghbcompositor.c
+++ b/gtk/src/ghbcompositor.c
@@ -617,7 +617,8 @@ ghb_compositor_blend (GtkWidget *widget, GdkEventExpose *event)
{
/* get our child */
child = GTK_WIDGET(draw->data);
- if (!GTK_WIDGET_VISIBLE(child))
+ if (!GTK_WIDGET_VISIBLE(cc->widget) ||
+ !GTK_WIDGET_VISIBLE(child))
continue;
/* the source data is the (composited) event box */