window: unassign surface on unmap
This commit is contained in:
parent
0268bb9888
commit
a3fda12ba1
3 changed files with 7 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ void CWLSurface::assign(wlr_surface* pSurface) {
|
|||
init();
|
||||
}
|
||||
|
||||
void CWLSurface::unassign() {
|
||||
destroy();
|
||||
}
|
||||
|
||||
CWLSurface::~CWLSurface() {
|
||||
destroy();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue