mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 22:45:59 +01:00
oops commit only for xdg
commit only for xdg
This commit is contained in:
parent
d834a8f7de
commit
172f8b04f0
1 changed files with 2 additions and 1 deletions
|
@ -104,10 +104,11 @@ void Events::listener_destroyWindow(wl_listener* listener, void* data) {
|
||||||
wl_list_remove(&PWINDOW->listen_destroyWindow.link);
|
wl_list_remove(&PWINDOW->listen_destroyWindow.link);
|
||||||
wl_list_remove(&PWINDOW->listen_setTitleWindow.link);
|
wl_list_remove(&PWINDOW->listen_setTitleWindow.link);
|
||||||
wl_list_remove(&PWINDOW->listen_fullscreenWindow.link);
|
wl_list_remove(&PWINDOW->listen_fullscreenWindow.link);
|
||||||
wl_list_remove(&PWINDOW->listen_commitWindow.link);
|
|
||||||
if (PWINDOW->m_bIsX11) {
|
if (PWINDOW->m_bIsX11) {
|
||||||
wl_list_remove(&PWINDOW->listen_activateX11.link);
|
wl_list_remove(&PWINDOW->listen_activateX11.link);
|
||||||
wl_list_remove(&PWINDOW->listen_configureX11.link);
|
wl_list_remove(&PWINDOW->listen_configureX11.link);
|
||||||
|
} else {
|
||||||
|
wl_list_remove(&PWINDOW->listen_commitWindow.link);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);
|
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);
|
||||||
|
|
Loading…
Reference in a new issue