mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Don't change window flags in Window::MainWindow::recountGeometryConstraints
This commit is contained in:
@@ -377,12 +377,6 @@ void MainWindow::updateShadowSize() {
|
||||
}
|
||||
|
||||
void MainWindow::recountGeometryConstraints() {
|
||||
#ifdef Q_OS_LINUX
|
||||
const auto hasShadow = this->hasShadow();
|
||||
setWindowFlag(Qt::NoDropShadowWindowHint, hasShadow);
|
||||
setAttribute(Qt::WA_OpaquePaintEvent, !hasShadow);
|
||||
#endif // Q_OS_LINUX
|
||||
|
||||
updateShadowSize();
|
||||
updateMinimumSize();
|
||||
updateControlsGeometry();
|
||||
|
Reference in New Issue
Block a user