2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Remove facades module.

This commit is contained in:
John Preston
2022-11-30 16:55:51 +04:00
parent eaed91263e
commit 01139e1b04
51 changed files with 93 additions and 229 deletions

View File

@@ -50,7 +50,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "window/window_controller.h" // App::wnd.
#include "window/window_session_controller.h"
#include "window/window_media_preview.h"
#include "facades.h"
#include "styles/style_dialogs.h"
#include "styles/style_layers.h"
#include "styles/style_window.h"
@@ -556,9 +555,8 @@ void MainWindow::checkActivation() {
}
bool MainWindow::contentOverlapped(const QRect &globalRect) {
if (_main && _main->contentOverlapped(globalRect)) return true;
if (_layer && _layer->contentOverlapped(globalRect)) return true;
return false;
return (_main && _main->contentOverlapped(globalRect))
|| (_layer && _layer->contentOverlapped(globalRect));
}
void MainWindow::setInnerFocus() {