Commit 775908e0 authored by Martin Flöser's avatar Martin Flöser
Browse files

[server] Fix incorrect assert

Display::createShm is allowed to be called when the Display is not
yet running. E.g. while starting up for the Xwayland case.
parent 1927c3a1
......@@ -210,7 +210,7 @@ DataDeviceManagerInterface *Display::createDataDeviceManager(QObject *parent)
void Display::createShm()
{
Q_ASSERT(d->running);
Q_ASSERT(d->display);
wl_display_init_shm(d->display);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment