wayland: Adjust kwin to SeatInterface changes

This commit is contained in:
Vlad Zahorodnii 2021-03-10 16:28:50 +02:00
parent 0ab41802f4
commit 00fcc3a423
8 changed files with 7 additions and 1 deletions

View file

@ -18,6 +18,7 @@
#include "workspace.h" #include "workspace.h"
#include <KWayland/Client/surface.h> #include <KWayland/Client/surface.h>
#include <KWaylandServer/keyboard_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
#include <KGlobalAccel> #include <KGlobalAccel>

View file

@ -27,6 +27,7 @@
#include <KWayland/Client/shm_pool.h> #include <KWayland/Client/shm_pool.h>
#include <KWayland/Client/surface.h> #include <KWayland/Client/surface.h>
#include <KWayland/Client/touch.h> #include <KWayland/Client/touch.h>
#include <KWaylandServer/keyboard_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
//screenlocker //screenlocker

View file

@ -46,6 +46,7 @@
#include <KWaylandServer/buffer_interface.h> #include <KWaylandServer/buffer_interface.h>
#include <KWaylandServer/surface_interface.h> #include <KWaylandServer/surface_interface.h>
#include <KWaylandServer/tablet_v2_interface.h> #include <KWaylandServer/tablet_v2_interface.h>
#include <KWaylandServer/keyboard_interface.h>
#include <decorations/decoratedclient.h> #include <decorations/decoratedclient.h>
//screenlocker //screenlocker

View file

@ -19,6 +19,7 @@
#include "deleted.h" #include "deleted.h"
#include <KWaylandServer/display.h> #include <KWaylandServer/display.h>
#include <KWaylandServer/keyboard_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
#include <KWaylandServer/textinput_v3_interface.h> #include <KWaylandServer/textinput_v3_interface.h>
#include <KWaylandServer/surface_interface.h> #include <KWaylandServer/surface_interface.h>

View file

@ -11,6 +11,7 @@
#include "input_event.h" #include "input_event.h"
#include "wayland_server.h" #include "wayland_server.h"
#include <KWaylandServer/keyboard_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
#include <QTimer> #include <QTimer>

View file

@ -25,6 +25,7 @@
#include <KWaylandServer/buffer_interface.h> #include <KWaylandServer/buffer_interface.h>
#include <KWaylandServer/datadevice_interface.h> #include <KWaylandServer/datadevice_interface.h>
#include <KWaylandServer/display.h> #include <KWaylandServer/display.h>
#include <KWaylandServer/pointer_interface.h>
#include <KWaylandServer/pointerconstraints_v1_interface.h> #include <KWaylandServer/pointerconstraints_v1_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
#include <KWaylandServer/surface_interface.h> #include <KWaylandServer/surface_interface.h>

View file

@ -402,7 +402,6 @@ bool WaylandServer::init(InitializationFlags flags)
new ViewporterInterface(m_display, m_display); new ViewporterInterface(m_display, m_display);
m_display->createShm(); m_display->createShm();
m_seat = new SeatInterface(m_display, m_display); m_seat = new SeatInterface(m_display, m_display);
m_seat->create();
new PointerGesturesV1Interface(m_display, m_display); new PointerGesturesV1Interface(m_display, m_display);
new PointerConstraintsV1Interface(m_display, m_display); new PointerConstraintsV1Interface(m_display, m_display);
m_dataDeviceManager = new DataDeviceManagerInterface(m_display, m_display); m_dataDeviceManager = new DataDeviceManagerInterface(m_display, m_display);

View file

@ -12,6 +12,7 @@
// frameworks // frameworks
#include <KConfigGroup> #include <KConfigGroup>
// KWayland // KWayland
#include <KWaylandServer/keyboard_interface.h>
#include <KWaylandServer/seat_interface.h> #include <KWaylandServer/seat_interface.h>
// Qt // Qt
#include <QTemporaryFile> #include <QTemporaryFile>