mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 20:29:48 +01:00
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
This commit is contained in:
parent
13bc7e1e14
commit
1f64668953
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue