Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/kwin_wayland_test.cpp
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | 113 | { | |||
---|---|---|---|---|---|
121 | ); | 121 | ); | ||
122 | platform->init(); | 122 | platform->init(); | ||
123 | } | 123 | } | ||
124 | 124 | | |||
125 | void WaylandTestApplication::continueStartupWithScreens() | 125 | void WaylandTestApplication::continueStartupWithScreens() | ||
126 | { | 126 | { | ||
127 | disconnect(kwinApp()->platform(), &Platform::screensQueried, this, &WaylandTestApplication::continueStartupWithScreens); | 127 | disconnect(kwinApp()->platform(), &Platform::screensQueried, this, &WaylandTestApplication::continueStartupWithScreens); | ||
128 | createScreens(); | 128 | createScreens(); | ||
129 | createCompositor(); | 129 | WaylandCompositor::create(); | ||
130 | connect(Compositor::self(), &Compositor::sceneCreated, this, &WaylandTestApplication::continueStartupWithScene); | 130 | connect(Compositor::self(), &Compositor::sceneCreated, this, &WaylandTestApplication::continueStartupWithScene); | ||
131 | } | 131 | } | ||
132 | 132 | | |||
133 | void WaylandTestApplication::finalizeStartup() | 133 | void WaylandTestApplication::finalizeStartup() | ||
134 | { | 134 | { | ||
135 | if (m_xwayland) { | 135 | if (m_xwayland) { | ||
136 | disconnect(m_xwayland, &Xwl::Xwayland::initialized, this, &WaylandTestApplication::finalizeStartup); | 136 | disconnect(m_xwayland, &Xwl::Xwayland::initialized, this, &WaylandTestApplication::finalizeStartup); | ||
137 | } | 137 | } | ||
Show All 24 Lines |