2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00
This commit is contained in:
John Preston
2015-09-29 16:38:19 +03:00
12 changed files with 65 additions and 22 deletions

View File

@@ -855,7 +855,14 @@ void Window::layerHidden() {
}
void Window::hideMediaview() {
if (_mediaView && !_mediaView->isHidden()) _mediaView->hide();
if (_mediaView && !_mediaView->isHidden()) {
_mediaView->hide();
#if defined Q_OS_LINUX32 || defined Q_OS_LINUX64
if (App::wnd()) {
App::wnd()->activateWindow();
}
#endif
}
}
void Window::setInnerFocus() {