mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #781 from thejan2009/bottom-right-edges
properly hide bottom and right borders
This commit is contained in:
		
						commit
						1fb971fffc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -576,7 +576,7 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
					border_left = 0;
 | 
										border_left = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (geometry.size.w == workspace->width) {
 | 
									if (geometry.origin.x + geometry.size.w == workspace->x + workspace->width) {
 | 
				
			||||||
					border_right = 0;
 | 
										border_right = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					@ -586,7 +586,7 @@ void update_geometry(swayc_t *container) {
 | 
				
			||||||
					border_top = 0;
 | 
										border_top = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				if (geometry.size.h == workspace->height) {
 | 
									if (geometry.origin.y + geometry.size.h == workspace->y + workspace->height) {
 | 
				
			||||||
					border_bottom = 0;
 | 
										border_bottom = 0;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue