mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 06:46:00 +01:00
xwayland: disconnect events on destroy
thanks Kirill Primak
This commit is contained in:
parent
1a4e6e6a4b
commit
10db5a4fdb
1 changed files with 2 additions and 0 deletions
|
@ -781,6 +781,8 @@ void Events::listener_destroyWindow(void* owner, void* data) {
|
||||||
PWINDOW->hyprListener_destroyWindow.removeCallback();
|
PWINDOW->hyprListener_destroyWindow.removeCallback();
|
||||||
PWINDOW->hyprListener_configureX11.removeCallback();
|
PWINDOW->hyprListener_configureX11.removeCallback();
|
||||||
PWINDOW->hyprListener_setOverrideRedirect.removeCallback();
|
PWINDOW->hyprListener_setOverrideRedirect.removeCallback();
|
||||||
|
PWINDOW->hyprListener_associateX11.removeCallback();
|
||||||
|
PWINDOW->hyprListener_dissociateX11.removeCallback();
|
||||||
|
|
||||||
g_pLayoutManager->getCurrentLayout()->onWindowRemoved(PWINDOW);
|
g_pLayoutManager->getCurrentLayout()->onWindowRemoved(PWINDOW);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue