forked from quickshell/quickshell
		
	x11/panelwindow: respect exclusive zones per layer
This commit is contained in:
		
							parent
							
								
									23cd6cd9e1
								
							
						
					
					
						commit
						22c397bbb0
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -232,6 +232,9 @@ void XPanelWindow::updateDimensions() {
 | 
				
			||||||
			// we only care about windows below us
 | 
								// we only care about windows below us
 | 
				
			||||||
			if (panel == this) break;
 | 
								if (panel == this) break;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
								// we only care about windows in the same layer
 | 
				
			||||||
 | 
								if (panel->mAboveWindows != this->mAboveWindows) continue;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			int side = -1;
 | 
								int side = -1;
 | 
				
			||||||
			quint32 exclusiveZone = 0;
 | 
								quint32 exclusiveZone = 0;
 | 
				
			||||||
			panel->getExclusion(side, exclusiveZone);
 | 
								panel->getExclusion(side, exclusiveZone);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue