summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-04-22 15:22:33 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-04-28 12:36:05 +0000
commitefff718d4ea07afa69590463fb24103e462a2ebd (patch)
tree4c28ce196a3e9d4330147d041eabdb17c7ffffba
parentafb8bc6478ae79c656bb57594152d5d6e40f99ed (diff)
downloadgtk+-efff718d4ea07afa69590463fb24103e462a2ebd.tar.gz
x11: Make popup surfaces use o-r windows
This is a step towards a full implementation of popup surfaces for X11.
-rw-r--r--gdk/x11/gdksurface-x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdk/x11/gdksurface-x11.c b/gdk/x11/gdksurface-x11.c
index 730d903432..74b6e2b622 100644
--- a/gdk/x11/gdksurface-x11.c
+++ b/gdk/x11/gdksurface-x11.c
@@ -842,7 +842,8 @@ _gdk_x11_display_create_surface (GdkDisplay *display,
xattributes.colormap = gdk_x11_display_get_window_colormap (display_x11);
xattributes_mask |= CWColormap;
- if (surface->surface_type == GDK_SURFACE_TEMP)
+ if (surface->surface_type == GDK_SURFACE_TEMP ||
+ surface->surface_type == GDK_SURFACE_POPUP)
{
xattributes.save_under = True;
xattributes.override_redirect = True;