fixed ASSERT and last commit's oopsie
This commit is contained in:
parent
de8d2fd136
commit
144a79ee00
3 changed files with 19 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue