mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	revert border hiding to more recent version
This commit is contained in:
		
							parent
							
								
									8d0048c8d5
								
							
						
					
					
						commit
						c33e0ee629
					
				
					 1 changed files with 2 additions and 6 deletions
				
			
		| 
						 | 
					@ -579,9 +579,7 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
					border_left = 0;
 | 
										border_left = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (geometry.origin.x + geometry.size.w == size.w ||
 | 
									if (geometry.origin.x + geometry.size.w == workspace->x + workspace->width) {
 | 
				
			||||||
						geometry.size.w == container->x + container->width) {
 | 
					 | 
				
			||||||
					// should work for swaybar at right
 | 
					 | 
				
			||||||
					border_right = 0;
 | 
										border_right = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -591,9 +589,7 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
					border_top = 0;
 | 
										border_top = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (geometry.origin.y + geometry.size.h == size.h ||
 | 
									if (geometry.origin.y + geometry.size.h == workspace->y + workspace->height) {
 | 
				
			||||||
						geometry.size.h == container->y + container->height) {
 | 
					 | 
				
			||||||
					// this works for swaybar at bottom
 | 
					 | 
				
			||||||
					border_bottom = 0;
 | 
										border_bottom = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue