mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	Taskbar: Show minimized window titles in [brackets].
Had to plumb the minimization state from WindowServer to Toolbar in order to implement this.
This commit is contained in:
		
							parent
							
								
									74142d78c1
								
							
						
					
					
						commit
						ef9fbef4c6
					
				
					 9 changed files with 35 additions and 7 deletions
				
			
		|  | @ -274,7 +274,7 @@ void GEventLoop::handle_wm_event(const WSAPI_ServerMessage& event, GWindow& wind | |||
|     dbgprintf("GEventLoop: handle_wm_event: %d\n", (int)event.type); | ||||
| #endif | ||||
|     if (event.type == WSAPI_ServerMessage::WM_WindowStateChanged) | ||||
|         return 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)); | ||||
|         return 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)); | ||||
|     if (event.type == WSAPI_ServerMessage::WM_WindowRemoved) | ||||
|         return post_event(window, make<GWMWindowRemovedEvent>(event.wm.client_id, event.wm.window_id)); | ||||
|     ASSERT_NOT_REACHED(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling