[libgda] GdaBrowser: WidgetOverlay correction



commit bfebdd75b7c12c705c433c98369aa8ce41998d3c
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Jul 24 13:10:59 2011 +0200

    GdaBrowser: WidgetOverlay correction

 tools/browser/common/widget-overlay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/common/widget-overlay.c b/tools/browser/common/widget-overlay.c
index 667a5dc..34ecc34 100644
--- a/tools/browser/common/widget-overlay.c
+++ b/tools/browser/common/widget-overlay.c
@@ -537,7 +537,7 @@ pick_offscreen_child (G_GNUC_UNUSED GdkWindow *offscreen_window,
 
 	for (list = g_list_last (ovl->priv->children); list; list = list->prev) {
 		ChildData *cd = (ChildData*) list->data;
-		if (!cd->ignore_events && gtk_widget_get_visible (cd->child) &&
+		if (!cd->ignore_events && gtk_widget_get_visible (cd->child) && (cd->alpha > 0.) &&
 		    (!ign_non_tooltip || (ign_non_tooltip && cd->is_tooltip))) {
 			GtkAllocation alloc;
 			double x, y;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]