window: explicitly set TYPE_TOPLEVEL for new windows

Signed-off-by: Tiago Vignatti <vignatti@freedesktop.org>
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
Tiago Vignatti 13 years ago committed by Pekka Paalanen
parent 8980f7c7d8
commit a571e75cc1
  1. 1
      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

Loading…
Cancel
Save