Don't damage surfaces coming from not rendered windows
This commit is contained in:
parent
471654d791
commit
970018248f
6 changed files with 53 additions and 10 deletions
|
|
@ -186,7 +186,7 @@ void Events::listener_mapWindow(void* owner, void* data) {
|
|||
if (!PWINDOW->m_bNoFocus)
|
||||
g_pCompositor->focusWindow(PWINDOW);
|
||||
|
||||
PWINDOW->m_pSurfaceTree = SubsurfaceTree::createTreeRoot(g_pXWaylandManager->getWindowSurface(PWINDOW), addViewCoords, PWINDOW);
|
||||
PWINDOW->m_pSurfaceTree = SubsurfaceTree::createTreeRoot(g_pXWaylandManager->getWindowSurface(PWINDOW), addViewCoords, PWINDOW, PWINDOW);
|
||||
|
||||
Debug::log(LOG, "Window got assigned a surfaceTreeNode %x", PWINDOW->m_pSurfaceTree);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue