fix height calculation on split notification
This commit is contained in:
		
							parent
							
								
									48c3df1134
								
							
						
					
					
						commit
						a8d0ef1854
					
				
							
								
								
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							| @ -523,7 +523,7 @@ void draw_win(void) | |||||||
|         if (geometry.h == 0) { |         if (geometry.h == 0) { | ||||||
|                 height = line_cnt * line_height; |                 height = line_cnt * line_height; | ||||||
|         } else { |         } else { | ||||||
|                 height = MIN(geometry.h, line_cnt) * line_height; |                 height = MAX(geometry.h, (line_cnt * line_height)); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         /* add "(x more)" */ |         /* add "(x more)" */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse