fix height when (x more) is added
This commit is contained in:
		
							parent
							
								
									adfe14c782
								
							
						
					
					
						commit
						2650d3667c
					
				
							
								
								
									
										1
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								dunst.c
									
									
									
									
									
								
							| @ -803,6 +803,7 @@ void draw_win(void) | |||||||
| 
 | 
 | ||||||
|         int height = (line_cache.count * line_height) |         int height = (line_cache.count * line_height) | ||||||
|                    + n_queue_len(&displayed) * 2 * padding |                    + n_queue_len(&displayed) * 2 * padding | ||||||
|  |                    + ((indicate_hidden && n_queue_len(&queue) > 0) ? 2 * padding : 0) | ||||||
|                    + (separator_height * (n_queue_len(&displayed) - 1)); |                    + (separator_height * (n_queue_len(&displayed) - 1)); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse