Client: Commit the initial surface state explicitly
QWaylandWindow lacks an explicit step to finish initializing the shell surface by committing the surface. So far it used to work because of hidden surface commits in QWaylandWindow::handleContentOrientationChange(), QWaylandWindow::setMask() and so on. This change adds an explicit step to commit the initial surface state to make the shell surface initialization robust. Change-Id: Ibc38a4e0dbea689a727451c25a61af0270c7e548 Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
9f23e0756b
commit
b3c663d0f8
@ -208,6 +208,8 @@ void QWaylandWindow::initWindow()
|
||||
mShellSurface->requestWindowStates(window()->windowStates());
|
||||
handleContentOrientationChange(window()->contentOrientation());
|
||||
mFlags = window()->flags();
|
||||
|
||||
mSurface->commit();
|
||||
}
|
||||
|
||||
void QWaylandWindow::initializeWlSurface()
|
||||
|
Loading…
x
Reference in New Issue
Block a user