[gtk/wip/matthiasc/popup4: 92/93] x11: Make popup surfaces use o-r windows
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 92/93] x11: Make popup surfaces use o-r windows
- Date: Mon, 22 Apr 2019 16:44:59 +0000 (UTC)
commit 942af012fc2db75888000e76565b4c528d02cc90
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 22 15:22:33 2019 +0000
x11: Make popup surfaces use o-r windows
This is a step towards a full implementation
of popup surfaces for X11.
gdk/x11/gdksurface-x11.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]