diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2022-12-05 17:05:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 17:05:15 +0000 |
| commit | 66fb0830032572c9729278b7e15525cb41bbf59e (patch) | |
| tree | 8560f87b39a193c01a3037ca00ef8f0af78e5a89 /src/events/Windows.cpp | |
| parent | 20b91f58f8f8cc7cda7cca7e7683e4c5178f0479 (diff) | |
Implement window sharing with the hl toplevel export proto (#1179)
* implement window sharing
Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 6f524da2..9f44e23c 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -556,6 +556,8 @@ void Events::listener_unmapWindow(void* owner, void* data) { g_pEventManager->postEvent(SHyprIPCEvent{"closewindow", getFormat("%x", PWINDOW)}); + g_pProtocolManager->m_pToplevelExportProtocolManager->onWindowUnmap(PWINDOW); + if (!PWINDOW->m_bIsX11) { Debug::log(LOG, "Unregistered late callbacks XDG"); PWINDOW->hyprListener_commitWindow.removeCallback(); |
