Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/wayland/wayland_backend.cpp
Show First 20 Lines • Show All 448 Lines • ▼ Show 20 Line(s) | 444 | WaylandBackend::WaylandBackend(QObject *parent) | |||
---|---|---|---|---|---|
449 | , m_compositor(new KWayland::Client::Compositor(this)) | 449 | , m_compositor(new KWayland::Client::Compositor(this)) | ||
450 | , m_subCompositor(new KWayland::Client::SubCompositor(this)) | 450 | , m_subCompositor(new KWayland::Client::SubCompositor(this)) | ||
451 | , m_shell(new Shell(this)) | 451 | , m_shell(new Shell(this)) | ||
452 | , m_shm(new ShmPool(this)) | 452 | , m_shm(new ShmPool(this)) | ||
453 | , m_connectionThreadObject(new ConnectionThread(nullptr)) | 453 | , m_connectionThreadObject(new ConnectionThread(nullptr)) | ||
454 | , m_connectionThread(nullptr) | 454 | , m_connectionThread(nullptr) | ||
455 | { | 455 | { | ||
456 | connect(this, &WaylandBackend::connectionFailed, this, &WaylandBackend::initFailed); | 456 | connect(this, &WaylandBackend::connectionFailed, this, &WaylandBackend::initFailed); | ||
457 | handleOutputs(); | | |||
458 | } | 457 | } | ||
459 | 458 | | |||
460 | WaylandBackend::~WaylandBackend() | 459 | WaylandBackend::~WaylandBackend() | ||
461 | { | 460 | { | ||
462 | if (m_pointerConstraints) { | 461 | if (m_pointerConstraints) { | ||
463 | m_pointerConstraints->release(); | 462 | m_pointerConstraints->release(); | ||
464 | } | 463 | } | ||
465 | delete m_waylandCursor; | 464 | delete m_waylandCursor; | ||
▲ Show 20 Lines • Show All 387 Lines • Show Last 20 Lines |