[wayland] Announce support for idle interface
This commit is contained in:
parent
72635101f0
commit
282321bfb5
1 changed files with 2 additions and 0 deletions
|
@ -33,6 +33,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include <KWayland/Server/compositor_interface.h>
|
#include <KWayland/Server/compositor_interface.h>
|
||||||
#include <KWayland/Server/datadevicemanager_interface.h>
|
#include <KWayland/Server/datadevicemanager_interface.h>
|
||||||
#include <KWayland/Server/display.h>
|
#include <KWayland/Server/display.h>
|
||||||
|
#include <KWayland/Server/idle_interface.h>
|
||||||
#include <KWayland/Server/output_interface.h>
|
#include <KWayland/Server/output_interface.h>
|
||||||
#include <KWayland/Server/plasmashell_interface.h>
|
#include <KWayland/Server/plasmashell_interface.h>
|
||||||
#include <KWayland/Server/plasmawindowmanagement_interface.h>
|
#include <KWayland/Server/plasmawindowmanagement_interface.h>
|
||||||
|
@ -140,6 +141,7 @@ void WaylandServer::init(const QByteArray &socketName)
|
||||||
m_seat = m_display->createSeat(m_display);
|
m_seat = m_display->createSeat(m_display);
|
||||||
m_seat->create();
|
m_seat->create();
|
||||||
m_display->createDataDeviceManager(m_display)->create();
|
m_display->createDataDeviceManager(m_display)->create();
|
||||||
|
m_display->createIdle(m_display)->create();
|
||||||
m_plasmaShell = m_display->createPlasmaShell(m_display);
|
m_plasmaShell = m_display->createPlasmaShell(m_display);
|
||||||
m_plasmaShell->create();
|
m_plasmaShell->create();
|
||||||
connect(m_plasmaShell, &PlasmaShellInterface::surfaceCreated,
|
connect(m_plasmaShell, &PlasmaShellInterface::surfaceCreated,
|
||||||
|
|
Loading…
Reference in a new issue