forked from quickshell/quickshell
		
	x11/panelwindow: calc screen geom with exclusions of other panels
Fixes a typo in 9604302 which calculated panel stack offsets from the
current panel instead of others in the stack.
			
			
This commit is contained in:
		
							parent
							
								
									478aa2bda1
								
							
						
					
					
						commit
						05fbead660
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -251,8 +251,8 @@ void XPanelWindow::updateDimensions(bool propagate) {
 | 
			
		|||
 | 
			
		||||
			if (panel->mTrackedScreen != this->mTrackedScreen) continue;
 | 
			
		||||
 | 
			
		||||
			auto edge = this->bcExclusionEdge.value();
 | 
			
		||||
			auto exclusiveZone = this->bcExclusiveZone.value();
 | 
			
		||||
			auto edge = panel->bcExclusionEdge.value();
 | 
			
		||||
			auto exclusiveZone = panel->bcExclusiveZone.value();
 | 
			
		||||
 | 
			
		||||
			screenGeometry.adjust(
 | 
			
		||||
			    edge == Qt::LeftEdge ? exclusiveZone : 0,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue