[PATCH 3/5] window: explicitly set TYPE_TOPLEVEL for new windows
Tiago Vignatti
tiago.vignatti at intel.com
Thu Feb 9 09:06:54 PST 2012
From: Tiago Vignatti <vignatti at freedesktop.org>
Signed-off-by: Tiago Vignatti <vignatti at freedesktop.org>
---
clients/window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index 3246189..5264d87 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2281,6 +2281,7 @@ window_create_internal(struct display *display, struct window *parent)
window->allocation.height = 0;
window->saved_allocation = window->allocation;
window->transparent = 1;
+ window->type = TYPE_TOPLEVEL;
if (display->dpy)
#ifdef HAVE_CAIRO_EGL
--
1.7.5.4
More information about the wayland-devel
mailing list