mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-05 08:55:59 +00:00
Always call raise() before activateWindow().
This commit is contained in:
@@ -67,6 +67,7 @@ constexpr auto kMaxChatEntryHistorySize = 50;
|
||||
|
||||
void ActivateWindow(not_null<SessionController*> controller) {
|
||||
const auto window = controller->widget();
|
||||
window->raise();
|
||||
window->activateWindow();
|
||||
Ui::ActivateWindowDelayed(window);
|
||||
}
|
||||
|
Reference in New Issue
Block a user