Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | #include <KWayland/Server/idle_interface.h> | 42 | #include <KWayland/Server/idle_interface.h> | ||
43 | #include <KWayland/Server/idleinhibit_interface.h> | 43 | #include <KWayland/Server/idleinhibit_interface.h> | ||
44 | #include <KWayland/Server/output_interface.h> | 44 | #include <KWayland/Server/output_interface.h> | ||
45 | #include <KWayland/Server/plasmashell_interface.h> | 45 | #include <KWayland/Server/plasmashell_interface.h> | ||
46 | #include <KWayland/Server/plasmavirtualdesktop_interface.h> | 46 | #include <KWayland/Server/plasmavirtualdesktop_interface.h> | ||
47 | #include <KWayland/Server/plasmawindowmanagement_interface.h> | 47 | #include <KWayland/Server/plasmawindowmanagement_interface.h> | ||
48 | #include <KWayland/Server/pointerconstraints_interface.h> | 48 | #include <KWayland/Server/pointerconstraints_interface.h> | ||
49 | #include <KWayland/Server/pointergestures_interface.h> | 49 | #include <KWayland/Server/pointergestures_interface.h> | ||
50 | #include <KWayland/Server/qtsurfaceextension_interface.h> | 50 | #include <KWayland/Server/qtsurfaceextension_interface.h> | ||
zzag: Missed this one. | |||||
51 | #include <KWayland/Server/seat_interface.h> | 51 | #include <KWayland/Server/seat_interface.h> | ||
52 | #include <KWayland/Server/server_decoration_interface.h> | 52 | #include <KWayland/Server/server_decoration_interface.h> | ||
53 | #include <KWayland/Server/server_decoration_palette_interface.h> | 53 | #include <KWayland/Server/server_decoration_palette_interface.h> | ||
54 | #include <KWayland/Server/shadow_interface.h> | 54 | #include <KWayland/Server/shadow_interface.h> | ||
55 | #include <KWayland/Server/subcompositor_interface.h> | 55 | #include <KWayland/Server/subcompositor_interface.h> | ||
56 | #include <KWayland/Server/blur_interface.h> | 56 | #include <KWayland/Server/blur_interface.h> | ||
57 | #include <KWayland/Server/shell_interface.h> | 57 | #include <KWayland/Server/shell_interface.h> | ||
58 | #include <KWayland/Server/outputmanagement_interface.h> | 58 | #include <KWayland/Server/outputmanagement_interface.h> | ||
▲ Show 20 Lines • Show All 231 Lines • ▼ Show 20 Line(s) | 288 | } else { | |||
290 | connect(surface, &QObject::destroyed, this, | 290 | connect(surface, &QObject::destroyed, this, | ||
291 | [this, surface] { | 291 | [this, surface] { | ||
292 | m_plasmaShellSurfaces.removeOne(surface); | 292 | m_plasmaShellSurfaces.removeOne(surface); | ||
293 | } | 293 | } | ||
294 | ); | 294 | ); | ||
295 | } | 295 | } | ||
296 | } | 296 | } | ||
297 | ); | 297 | ); | ||
298 | | ||||
299 | | ||||
300 | m_qtExtendedSurface = m_display->createQtSurfaceExtension(m_display); | | |||
301 | m_qtExtendedSurface->create(); | | |||
302 | connect(m_qtExtendedSurface, &QtSurfaceExtensionInterface::surfaceCreated, | | |||
303 | [this] (QtExtendedSurfaceInterface *surface) { | | |||
304 | if (ShellClient *client = findClient(surface->surface())) { | | |||
305 | client->installQtExtendedSurface(surface); | | |||
306 | } | | |||
307 | } | | |||
308 | ); | | |||
309 | m_appMenuManager = m_display->createAppMenuManagerInterface(m_display); | 298 | m_appMenuManager = m_display->createAppMenuManagerInterface(m_display); | ||
310 | m_appMenuManager->create(); | 299 | m_appMenuManager->create(); | ||
311 | connect(m_appMenuManager, &AppMenuManagerInterface::appMenuCreated, | 300 | connect(m_appMenuManager, &AppMenuManagerInterface::appMenuCreated, | ||
312 | [this] (AppMenuInterface *appMenu) { | 301 | [this] (AppMenuInterface *appMenu) { | ||
313 | if (ShellClient *client = findClient(appMenu->surface())) { | 302 | if (ShellClient *client = findClient(appMenu->surface())) { | ||
314 | client->installAppMenu(appMenu); | 303 | client->installAppMenu(appMenu); | ||
315 | } | 304 | } | ||
316 | } | 305 | } | ||
▲ Show 20 Lines • Show All 508 Lines • Show Last 20 Lines |
Missed this one.