mirror of
				https://github.com/DreamMaoMao/maomaowm.git
				synced 2025-11-03 09:01:47 -05:00 
			
		
		
		
	fix: fade in not apply
This commit is contained in:
		
							parent
							
								
									55f82231a6
								
							
						
					
					
						commit
						d5c8a7bd91
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1397,7 +1397,7 @@ void client_apply_clip(Client *c) {
 | 
				
			||||||
  scale_data.width_scale = (float)scale_data.width / (geometry.width - offset.x);
 | 
					  scale_data.width_scale = (float)scale_data.width / (geometry.width - offset.x);
 | 
				
			||||||
  scale_data.height_scale = (float)scale_data.height / (geometry.height - offset.y);
 | 
					  scale_data.height_scale = (float)scale_data.height / (geometry.height - offset.y);
 | 
				
			||||||
  scale_data.corner_location = current_corner_location;
 | 
					  scale_data.corner_location = current_corner_location;
 | 
				
			||||||
  scale_data.percent = c->is_open_animation && animation_fade_in ? (double)c->animation.passed_frames / c->animation.total_frames : 1.0;
 | 
					  scale_data.percent = c->animation.action == OPEN && animation_fade_in && !c->nofadein ? (double)c->animation.passed_frames / c->animation.total_frames : 1.0;
 | 
				
			||||||
  scale_data.opacity = c->isfullscreen ? 1 : c == selmon->sel ? c->focused_opacity : c->unfocused_opacity;
 | 
					  scale_data.opacity = c->isfullscreen ? 1 : c == selmon->sel ? c->focused_opacity : c->unfocused_opacity;
 | 
				
			||||||
  buffer_set_effect(c, scale_data);
 | 
					  buffer_set_effect(c, scale_data);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue