mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:12:45 +00:00 
			
		
		
		
	WindowServer+LibGUI: Remove old "icon path" way of doing things.
Now that we can set icons directly "by bitmap", there's no need for passing around the icon paths anymore, so get rid of all the IPC and API related to that. :^)
This commit is contained in:
		
							parent
							
								
									841b2e5d13
								
							
						
					
					
						commit
						d4892b3fdc
					
				
					 13 changed files with 3 additions and 158 deletions
				
			
		|  | @ -192,8 +192,6 @@ void GWindowServerConnection::handle_wm_event(const WSAPI_ServerMessage& event, | |||
|         CEventLoop::current().post_event(window, make<GWMWindowStateChangedEvent>(event.wm.client_id, event.wm.window_id, String(event.text, event.text_length), event.wm.rect, event.wm.is_active, (GWindowType)event.wm.window_type, event.wm.is_minimized)); | ||||
|     else if (event.type == WSAPI_ServerMessage::WM_WindowRectChanged) | ||||
|         CEventLoop::current().post_event(window, make<GWMWindowRectChangedEvent>(event.wm.client_id, event.wm.window_id, event.wm.rect)); | ||||
|     else if (event.type == WSAPI_ServerMessage::WM_WindowIconChanged) | ||||
|         CEventLoop::current().post_event(window, make<GWMWindowIconChangedEvent>(event.wm.client_id, event.wm.window_id, String(event.text, event.text_length))); | ||||
|     else if (event.type == WSAPI_ServerMessage::WM_WindowIconBitmapChanged) | ||||
|         CEventLoop::current().post_event(window, make<GWMWindowIconBitmapChangedEvent>(event.wm.client_id, event.wm.window_id, event.wm.icon_buffer_id, event.wm.icon_size)); | ||||
|     else if (event.type == WSAPI_ServerMessage::WM_WindowRemoved) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling