Skip to content

Commit

Permalink
fix: Fix resizable fullscreen frame in latest kwin PR
Browse files Browse the repository at this point in the history
Set fixed size for fullscreen frame

Issue: linuxdeepin/developer-center#9067
Log: Fix resizable fullscreen frame in latest kwin PR
  • Loading branch information
ArchieMeng committed Jul 1, 2024
1 parent b28a1c6 commit 43ec100
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions qml/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43ec100

Please sign in to comment.