window: explicitly set TYPE_TOPLEVEL for new windows
Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org> Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
committed by
Pekka Paalanen
parent
8980f7c7d8
commit
a571e75cc1
@@ -2281,6 +2281,7 @@ window_create_internal(struct display *display, struct window *parent)
|
|||||||
window->allocation.height = 0;
|
window->allocation.height = 0;
|
||||||
window->saved_allocation = window->allocation;
|
window->saved_allocation = window->allocation;
|
||||||
window->transparent = 1;
|
window->transparent = 1;
|
||||||
|
window->type = TYPE_TOPLEVEL;
|
||||||
|
|
||||||
if (display->dpy)
|
if (display->dpy)
|
||||||
#ifdef HAVE_CAIRO_EGL
|
#ifdef HAVE_CAIRO_EGL
|
||||||
|
|||||||
Reference in New Issue
Block a user