Changeset View
Changeset View
Standalone View
Standalone View
wayland_server.cpp
Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Line(s) | |||||
61 | #include <KWayland/Server/outputmanagement_interface.h> | 61 | #include <KWayland/Server/outputmanagement_interface.h> | ||
62 | #include <KWayland/Server/outputconfiguration_interface.h> | 62 | #include <KWayland/Server/outputconfiguration_interface.h> | ||
63 | #include <KWayland/Server/xdgdecoration_interface.h> | 63 | #include <KWayland/Server/xdgdecoration_interface.h> | ||
64 | #include <KWayland/Server/xdgshell_interface.h> | 64 | #include <KWayland/Server/xdgshell_interface.h> | ||
65 | #include <KWayland/Server/xdgforeign_interface.h> | 65 | #include <KWayland/Server/xdgforeign_interface.h> | ||
66 | #include <KWayland/Server/xdgoutput_interface.h> | 66 | #include <KWayland/Server/xdgoutput_interface.h> | ||
67 | #include <KWayland/Server/keystate_interface.h> | 67 | #include <KWayland/Server/keystate_interface.h> | ||
68 | #include <KWayland/Server/filtered_display.h> | 68 | #include <KWayland/Server/filtered_display.h> | ||
69 | #include <KWayland/Server/viewporter_interface.h> | ||||
69 | 70 | | |||
70 | // KF | 71 | // KF | ||
71 | #include <KServiceTypeTrader> | 72 | #include <KServiceTypeTrader> | ||
72 | 73 | | |||
73 | // Qt | 74 | // Qt | ||
74 | #include <QCryptographicHash> | 75 | #include <QCryptographicHash> | ||
75 | #include <QDir> | 76 | #include <QDir> | ||
76 | #include <QFileInfo> | 77 | #include <QFileInfo> | ||
▲ Show 20 Lines • Show All 369 Lines • ▼ Show 20 Line(s) | 284 | { | |||
446 | m_display->createSubCompositor(m_display)->create(); | 447 | m_display->createSubCompositor(m_display)->create(); | ||
447 | 448 | | |||
448 | m_XdgForeign = m_display->createXdgForeignInterface(m_display); | 449 | m_XdgForeign = m_display->createXdgForeignInterface(m_display); | ||
449 | m_XdgForeign->create(); | 450 | m_XdgForeign->create(); | ||
450 | 451 | | |||
451 | m_keyState = m_display->createKeyStateInterface(m_display); | 452 | m_keyState = m_display->createKeyStateInterface(m_display); | ||
452 | m_keyState->create(); | 453 | m_keyState->create(); | ||
453 | 454 | | |||
455 | m_viewporter = m_display->createViewporterInterface(m_display); | ||||
456 | m_viewporter->create(); | ||||
457 | | ||||
454 | return true; | 458 | return true; | ||
455 | } | 459 | } | ||
456 | 460 | | |||
457 | KWayland::Server::LinuxDmabufUnstableV1Interface *WaylandServer::linuxDmabuf() | 461 | KWayland::Server::LinuxDmabufUnstableV1Interface *WaylandServer::linuxDmabuf() | ||
458 | { | 462 | { | ||
459 | if (!m_linuxDmabuf) { | 463 | if (!m_linuxDmabuf) { | ||
460 | m_linuxDmabuf = m_display->createLinuxDmabufInterface(m_display); | 464 | m_linuxDmabuf = m_display->createLinuxDmabufInterface(m_display); | ||
461 | m_linuxDmabuf->create(); | 465 | m_linuxDmabuf->create(); | ||
▲ Show 20 Lines • Show All 329 Lines • Show Last 20 Lines |