From 111c527869b0f8b1aacaa954b0fd113149d1e7c0 Mon Sep 17 00:00:00 2001 From: Yutao Meng Date: Mon, 1 Jul 2024 15:42:14 +0800 Subject: [PATCH] fix: Fix resizable fullscreen frame in latest kwin PR Set fixed size for fullscreen frame Issue: https://github.com/linuxdeepin/developer-center/issues/9067 Log: Fix resizable fullscreen frame in latest kwin PR --- qml/Main.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qml/Main.qml b/qml/Main.qml index b59dddc1..7ad60a31 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -281,6 +281,11 @@ QtObject { objectName: "FullscreenFrameApplicationWindow" title: "Fullscreen Launchpad" visible: LauncherController.visible && (LauncherController.currentFrame !== "WindowedFrame") + // disable resizable + maximumWidth: width + minimumWidth: width + minimumHeight: height + maximumHeight: height DLayerShellWindow.anchors: DLayerShellWindow.AnchorBottom | DLayerShellWindow.AnchorTop | DLayerShellWindow.AnchorLeft | DLayerShellWindow.AnchorRight DLayerShellWindow.layer: DLayerShellWindow.LayerTop