Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.cpp
Show First 20 Lines • Show All 446 Lines • ▼ Show 20 Line(s) | 443 | connect(deco, &ServerSideDecorationInterface::modeRequested, this, | |||
---|---|---|---|---|---|
447 | } | 447 | } | ||
448 | ); | 448 | ); | ||
449 | } | 449 | } | ||
450 | ); | 450 | ); | ||
451 | m_decorationManager->create(); | 451 | m_decorationManager->create(); | ||
452 | 452 | | |||
453 | m_outputManagement = m_display->createOutputManagement(m_display); | 453 | m_outputManagement = m_display->createOutputManagement(m_display); | ||
454 | connect(m_outputManagement, &OutputManagementInterface::configurationChangeRequested, | 454 | connect(m_outputManagement, &OutputManagementInterface::configurationChangeRequested, | ||
455 | this, [this](KWayland::Server::OutputConfigurationInterface *config) { | 455 | kwinApp()->platform(), &Platform::requestOutputsChange); | ||
456 | kwinApp()->platform()->configurationChangeRequested(config); | | |||
457 | }); | | |||
458 | m_outputManagement->create(); | 456 | m_outputManagement->create(); | ||
459 | 457 | | |||
460 | m_xdgOutputManager = m_display->createXdgOutputManager(m_display); | 458 | m_xdgOutputManager = m_display->createXdgOutputManager(m_display); | ||
461 | m_xdgOutputManager->create(); | 459 | m_xdgOutputManager->create(); | ||
462 | 460 | | |||
463 | m_display->createSubCompositor(m_display)->create(); | 461 | m_display->createSubCompositor(m_display)->create(); | ||
464 | 462 | | |||
465 | m_XdgForeign = m_display->createXdgForeignInterface(m_display); | 463 | m_XdgForeign = m_display->createXdgForeignInterface(m_display); | ||
▲ Show 20 Lines • Show All 356 Lines • Show Last 20 Lines |