summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghbcompositor.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-02-23 16:53:48 +0000
committerjstebbins <[email protected]>2010-02-23 16:53:48 +0000
commit0c9211727863e8d23f54bfba567e2e31f0c64855 (patch)
tree01c4a7e1af28cd96e00edbee95d3690e6d324fad /gtk/src/ghbcompositor.c
parent0df7722d93ee1eda7eda1d86745fea2b6df19933 (diff)
LinGui: fix hud expose event rendering
another "change" in gtk causes "hidden" widgets to be rendered with reduced opacity instead of zero opacity. So check the visibility of the widgets manually and skip the hidden ones. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3136 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/ghbcompositor.c')
-rw-r--r--gtk/src/ghbcompositor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/src/ghbcompositor.c b/gtk/src/ghbcompositor.c
index 81628b6bf..486ed420c 100644
--- a/gtk/src/ghbcompositor.c
+++ b/gtk/src/ghbcompositor.c
@@ -617,6 +617,9 @@ ghb_compositor_blend (GtkWidget *widget, GdkEventExpose *event)
{
/* get our child */
child = GTK_WIDGET(draw->data);
+ if (!GTK_WIDGET_VISIBLE(child))
+ continue;
+
/* the source data is the (composited) event box */
gdk_cairo_set_source_pixmap (cr, child->window,
child->allocation.x,