Commit 932a1160 authored by Roman Gilg's avatar Roman Gilg
Browse files

[platforms/wayland] Do an initial xdg-surface commit

Summary:
After setting the xdg-surface role an initial commit must be sent per
protocol description.

This fixes Wayland nested session after commit 84de8d13 made this
requirement explicit.

Test Plan: Launched Wayland nested session.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D25127
parent f0a021ea
......@@ -99,6 +99,8 @@ XdgShellOutput::XdgShellOutput(Surface *surface, XdgShell *xdgShell, WaylandBack
}
updateWindowTitle();
});
surface->commit(Surface::CommitFlag::None);
}
XdgShellOutput::~XdgShellOutput()
......
Markdown is supported
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