oops commit only for xdg

commit only for xdg
This commit is contained in:
vaxerski 2022-03-23 22:35:47 +01:00
parent d834a8f7de
commit 172f8b04f0

View file

@ -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_setTitleWindow.link);
wl_list_remove(&PWINDOW->listen_fullscreenWindow.link);
wl_list_remove(&PWINDOW->listen_commitWindow.link);
if (PWINDOW->m_bIsX11) {
wl_list_remove(&PWINDOW->listen_activateX11.link);
wl_list_remove(&PWINDOW->listen_configureX11.link);
} else {
wl_list_remove(&PWINDOW->listen_commitWindow.link);
}
g_pCompositor->removeWindowFromVectorSafe(PWINDOW);