forked from quickshell/quickshell
		
	fix: ub/crash when changing layershell props after hiding window
This commit is contained in:
		
							parent
							
								
									3d4b8efc74
								
							
						
					
					
						commit
						5ac04649aa
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -69,7 +69,10 @@ QSWaylandLayerSurface::QSWaylandLayerSurface(
 | 
			
		|||
	this->set_size(size.width(), size.height());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QSWaylandLayerSurface::~QSWaylandLayerSurface() { this->destroy(); }
 | 
			
		||||
QSWaylandLayerSurface::~QSWaylandLayerSurface() {
 | 
			
		||||
	this->ext->surface = nullptr;
 | 
			
		||||
	this->destroy();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void QSWaylandLayerSurface::zwlr_layer_surface_v1_configure(
 | 
			
		||||
    quint32 serial,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue