mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-03 07:56:03 +00:00
Revert "Add main window shadow for Linux"
This reverts commit d02092f09e
.
Conflicts:
Telegram/SourceFiles/mainwindow.cpp
Telegram/SourceFiles/platform/linux/specific_linux.cpp
Telegram/SourceFiles/window/main_window.cpp
This commit is contained in:
@@ -39,7 +39,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "apiwrap.h"
|
||||
#include "api/api_updates.h"
|
||||
#include "settings/settings_intro.h"
|
||||
#include "platform/platform_specific.h"
|
||||
#include "platform/platform_notifications_manager.h"
|
||||
#include "base/platform/base_platform_info.h"
|
||||
#include "base/call_delayed.h"
|
||||
@@ -111,12 +110,7 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
||||
}, lifetime());
|
||||
|
||||
setAttribute(Qt::WA_NoSystemBackground);
|
||||
|
||||
if (Platform::WindowsNeedShadow()) {
|
||||
setAttribute(Qt::WA_TranslucentBackground);
|
||||
} else {
|
||||
setAttribute(Qt::WA_OpaquePaintEvent);
|
||||
}
|
||||
setAttribute(Qt::WA_OpaquePaintEvent);
|
||||
}
|
||||
|
||||
void MainWindow::initHook() {
|
||||
|
Reference in New Issue
Block a user