From 52562e2b0c85540a886bc16abe0382cd89c6e867 Mon Sep 17 00:00:00 2001 From: chenlelin Date: Fri, 18 Dec 2020 16:52:37 +0800 Subject: [PATCH] Change the distance from the main window to the edge of the screen --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 79d78ec0..3f662165 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -688,7 +688,7 @@ void MainWindow::handleIconClicked() int n = objKyDBus->getTaskBarPos("position"); int m = objKyDBus->getTaskBarHeight("height"); - int d = 7; //窗口边沿到任务栏距离 + int d = 4; //窗口边沿到任务栏距离 if (screenGeometry.width() == availableGeometry.width() && screenGeometry.height() == availableGeometry.height()) { if (n == 0) {