mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:22:43 +00:00 
			
		
		
		
	WindowServer: Adjust MenuApplet position on resize
Applet rects are now recalculated when changed.
This commit is contained in:
		
							parent
							
								
									f6db97b8a9
								
							
						
					
					
						commit
						030f4150b8
					
				
					 1 changed files with 6 additions and 3 deletions
				
			
		|  | @ -379,6 +379,9 @@ void WindowManager::notify_rect_changed(Window& window, const Gfx::IntRect& old_ | ||||||
| 
 | 
 | ||||||
|     tell_wm_listeners_window_rect_changed(window); |     tell_wm_listeners_window_rect_changed(window); | ||||||
| 
 | 
 | ||||||
|  |     if (window.type() == WindowType::MenuApplet) | ||||||
|  |         AppletManager::the().calculate_applet_rects(MenuManager::the().window()); | ||||||
|  | 
 | ||||||
|     MenuManager::the().refresh(); |     MenuManager::the().refresh(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 thankyouverycool
						thankyouverycool