diff options
| author | Tim Waterhouse <tim@timwaterhouse.com> | 2024-07-13 03:53:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-13 12:53:23 +0200 |
| commit | 1f6466895326defef370a378f9d7b61a7e246df7 (patch) | |
| tree | 6565bc2dc95fa5deaa41c7c4078a459adcd2631f /src/protocols/ForeignToplevel.cpp | |
| parent | 13bc7e1e1415a0b17db609774f59b594c7633941 (diff) | |
ext-foreign-toplevel: Send done after title and class (#6857)
According to the spec (https://wayland.app/protocols/ext-foreign-toplevel-list-v1#ext_foreign_toplevel_handle_v1:event:title), clients should wait for the done signal before applying updates
Diffstat (limited to 'src/protocols/ForeignToplevel.cpp')
| -rw-r--r-- | src/protocols/ForeignToplevel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/ForeignToplevel.cpp b/src/protocols/ForeignToplevel.cpp index 40420da7..f7b3886f 100644 --- a/src/protocols/ForeignToplevel.cpp +++ b/src/protocols/ForeignToplevel.cpp @@ -81,6 +81,7 @@ void CForeignToplevelList::onTitle(PHLWINDOW pWindow) { return; H->resource->sendTitle(pWindow->m_szTitle.c_str()); + H->resource->sendDone(); } void CForeignToplevelList::onClass(PHLWINDOW pWindow) { @@ -92,6 +93,7 @@ void CForeignToplevelList::onClass(PHLWINDOW pWindow) { return; H->resource->sendAppId(pWindow->m_szClass.c_str()); + H->resource->sendDone(); } void CForeignToplevelList::onUnmap(PHLWINDOW pWindow) { |
