diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-02-20 16:24:59 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-02-20 16:36:34 +0100 |
commit | eb0f86d485b0326f9e1ac7c8bf8093d71da6c92d (patch) | |
tree | 85536aea49a18d6aa9865678853b78823ce8d603 /gtk/gtkscalebutton.c | |
parent | 8ea40e4956747374bd7cf3ba31035d73867753bd (diff) | |
download | gtk+-eb0f86d485b0326f9e1ac7c8bf8093d71da6c92d.tar.gz |
popover: Always apply the window shape
In practice this shape is only used to outline the popover when it is
above native windows, in the most normal full-csw case the shape won't apply
visibly, so popovers will still be able to cast a shadow there.
If there are native windows below the popover, the shape will exclude the
shadow, so there are no alpha contents above the window. One worst case that
might happen is that the popover lays above patches of native/client-side
windows, so the shadow could come and go around the border. But first let's
see whether that happens often or visibly enough before adding something more
convoluted.
Diffstat (limited to 'gtk/gtkscalebutton.c')
-rw-r--r-- | gtk/gtkscalebutton.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkscalebutton.c b/gtk/gtkscalebutton.c index 4ef8a45089..29dee83757 100644 --- a/gtk/gtkscalebutton.c +++ b/gtk/gtkscalebutton.c @@ -57,7 +57,6 @@ #include "gtktypebuiltins.h" #include "gtkintl.h" #include "a11y/gtkscalebuttonaccessible.h" -#include "gtkpopoverprivate.h" /** * SECTION:gtkscalebutton @@ -357,9 +356,6 @@ gtk_scale_button_init (GtkScaleButton *button) gtk_widget_init_template (GTK_WIDGET (button)); gtk_popover_set_relative_to (GTK_POPOVER (priv->dock), GTK_WIDGET (button)); - /* FIXME: to be removed when compositing over native windows is fixed */ - _gtk_popover_set_apply_shape (GTK_POPOVER (priv->dock), TRUE); - /* Need a local reference to the adjustment */ g_object_ref (priv->adjustment); |