mirror of https://gitlab.com/nakst/essence
				
				
				
			gui: fix bug where focused elements were not being unfocused on window deactivation
This commit is contained in:
		
							parent
							
								
									76a5ab5bb9
								
							
						
					
					
						commit
						eebba8a873
					
				| 
						 | 
					@ -7919,7 +7919,7 @@ void UIProcessWindowManagerMessage(EsWindow *window, EsMessage *message, Process
 | 
				
			||||||
				window->inactiveFocus = window->focused;
 | 
									window->inactiveFocus = window->focused;
 | 
				
			||||||
				window->inactiveFocus->Repaint(true);
 | 
									window->inactiveFocus->Repaint(true);
 | 
				
			||||||
				window->focused = nullptr;
 | 
									window->focused = nullptr;
 | 
				
			||||||
				UIRemoveFocusFromElement(window->focused);
 | 
									UIRemoveFocusFromElement(window->inactiveFocus);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			EsMessageSend(window, message);
 | 
								EsMessageSend(window, message);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue