summaryrefslogtreecommitdiffstats
path: root/examples/wayland/minimal-cpp/compositor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/wayland/minimal-cpp/compositor.cpp')
-rw-r--r--examples/wayland/minimal-cpp/compositor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/wayland/minimal-cpp/compositor.cpp b/examples/wayland/minimal-cpp/compositor.cpp
index 81b1be26..fa9ae2da 100644
--- a/examples/wayland/minimal-cpp/compositor.cpp
+++ b/examples/wayland/minimal-cpp/compositor.cpp
@@ -88,6 +88,7 @@ Compositor::Compositor(Window *window)
: m_window(window)
{
window->setCompositor(this);
+ connect(window, &Window::glReady, this, [this] { create(); });
}
Compositor::~Compositor()