[gtk+] popover: Apply child shapes on the GtkWidget popover subwindow



commit 0493d746504f91335b55f76efa3d894d92734104
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Feb 4 12:07:42 2014 +0100

    popover: Apply child shapes on the GtkWidget popover subwindow
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723556

 gtk/gtkpopover.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 017fe2c..3d82446 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -606,6 +606,8 @@ gtk_popover_update_shape (GtkPopover *popover)
 
   gtk_widget_shape_combine_region (GTK_WIDGET (popover), region);
   cairo_region_destroy (region);
+
+  gdk_window_set_child_shapes (gtk_widget_get_parent_window (GTK_WIDGET (popover)));
 }
 
 static void


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