mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-19 05:53:48 -07:00
fixed ASSERT and last commit's oopsie
This commit is contained in:
@@ -141,7 +141,9 @@ void Events::listener_unmapWindow(wl_listener* listener, void* data) {
|
||||
// refocus on a new window
|
||||
g_pInputManager->refocus();
|
||||
|
||||
|
||||
SubsurfaceTree::destroySurfaceTree(PWINDOW->m_pSurfaceTree);
|
||||
|
||||
PWINDOW->m_pSurfaceTree = nullptr;
|
||||
}
|
||||
|
||||
@@ -250,4 +252,4 @@ void Events::listener_newXDGSurface(wl_listener* listener, void* data) {
|
||||
wl_signal_add(&XDGSURFACE->toplevel->events.set_title, &PNEWWINDOW->listen_setTitleWindow);
|
||||
wl_signal_add(&XDGSURFACE->toplevel->events.request_fullscreen, &PNEWWINDOW->listen_fullscreenWindow);
|
||||
wl_signal_add(&XDGSURFACE->events.new_popup, &PNEWWINDOW->listen_newPopupXDG);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user