mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:12:46 +00:00 
			
		
		
		
	WindowServer: Set rendered cache dirty on maximization event
Fixes restore/maximize icon not updating when the cursor overlaps window frame on restoration.
This commit is contained in:
		
							parent
							
								
									35e557c657
								
							
						
					
					
						commit
						0b0c4fc1e8
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -242,6 +242,7 @@ bool WindowFrame::has_shadow() const | |||
| void WindowFrame::did_set_maximized(Badge<Window>, bool maximized) | ||||
| { | ||||
|     VERIFY(m_maximize_button); | ||||
|     set_dirty(); | ||||
|     m_maximize_button->set_icon(maximized ? s_restore_icon : s_maximize_icon); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 thankyouverycool
						thankyouverycool