mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:12:46 +00:00 
			
		
		
		
	WindowServer: Don't render shadow for frameless windows
Fixes CatDog rendering odd square shadow.
This commit is contained in:
		
							parent
							
								
									3d374954eb
								
							
						
					
					
						commit
						db0149056f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -168,6 +168,8 @@ void WindowFrame::set_button_icons() | |||
| 
 | ||||
| Gfx::Bitmap* WindowFrame::window_shadow() const | ||||
| { | ||||
|     if (m_window.is_frameless()) | ||||
|         return nullptr; | ||||
|     if (m_window.type() == WindowType::Desktop) | ||||
|         return nullptr; | ||||
|     return s_window_shadow; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tom
						Tom