Drop WaylandServer::dispatch()
There's no any good reason to dispatch events at shutdown.
This commit is contained in:
parent
65e8c0c737
commit
260b224d3b
4 changed files with 0 additions and 11 deletions
|
@ -83,7 +83,6 @@ WaylandTestApplication::~WaylandTestApplication()
|
|||
delete m_xwayland;
|
||||
m_xwayland = nullptr;
|
||||
destroyWorkspace();
|
||||
waylandServer()->dispatch();
|
||||
if (QStyle *s = style()) {
|
||||
s->unpolish(this);
|
||||
}
|
||||
|
|
|
@ -130,7 +130,6 @@ ApplicationWayland::~ApplicationWayland()
|
|||
delete m_xwayland;
|
||||
m_xwayland = nullptr;
|
||||
destroyWorkspace();
|
||||
waylandServer()->dispatch();
|
||||
|
||||
if (QStyle *s = style()) {
|
||||
s->unpolish(this);
|
||||
|
|
|
@ -703,14 +703,6 @@ void WaylandServer::removeClient(AbstractClient *c)
|
|||
Q_EMIT shellClientRemoved(c);
|
||||
}
|
||||
|
||||
void WaylandServer::dispatch()
|
||||
{
|
||||
if (!m_display) {
|
||||
return;
|
||||
}
|
||||
m_display->dispatchEvents();
|
||||
}
|
||||
|
||||
static AbstractClient *findClientInList(const QList<AbstractClient *> &clients, const KWaylandServer::SurfaceInterface *surface)
|
||||
{
|
||||
auto it = std::find_if(clients.begin(), clients.end(),
|
||||
|
|
|
@ -185,7 +185,6 @@ public:
|
|||
KWaylandServer::ClientConnection *screenLockerClientConnection() const {
|
||||
return m_screenLockerClientConnection;
|
||||
}
|
||||
void dispatch();
|
||||
|
||||
/**
|
||||
* Struct containing information for a created Wayland connection through a
|
||||
|
|
Loading…
Reference in a new issue