[gtk/wip/matthiasc/popup5: 216/234] popover: Set input shapes on wayland too
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 216/234] popover: Set input shapes on wayland too
- Date: Mon, 27 May 2019 13:40:16 +0000 (UTC)
commit 71314f6b060abc7d7b3c3eaaa98b708c865396ff
Author: Matthias Clasen <mclasen redhat com>
Date: Wed May 22 00:00:44 2019 +0000
popover: Set input shapes on wayland too
No reason not to do it. Wayland has input shapes.
gtk/gtkpopover.c | 5 -----
1 file changed, 5 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index f624276adc..bbb949e282 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -983,11 +983,6 @@ gtk_popover_update_shape (GtkPopover *popover)
cairo_region_t *region;
cairo_t *cr;
-#ifdef GDK_WINDOWING_WAYLAND
- if (GDK_IS_WAYLAND_DISPLAY (gtk_widget_get_display (widget)))
- return;
-#endif
-
cairo_surface =
gdk_surface_create_similar_surface (priv->surface,
CAIRO_CONTENT_COLOR_ALPHA,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]