[qpa] Dispatch Wayland server before trying to find a ShellClient
Ensures that all pending events are processed and we actually have created the ShellSlient.icc-effect-5.14.5
parent
ef20f82b4d
commit
a10be8a7d7
|
@ -144,6 +144,7 @@ void Window::createFBO()
|
|||
ShellClient *Window::shellClient()
|
||||
{
|
||||
if (!m_shellClient) {
|
||||
waylandServer()->dispatch();
|
||||
m_shellClient = waylandServer()->findClient(window());
|
||||
}
|
||||
return m_shellClient;
|
||||
|
|
Loading…
Reference in New Issue