Skip to content

Commit

Permalink
fix: display issues with fullscreen frame
Browse files Browse the repository at this point in the history
Remove the flags from the fullscreen frame as it affects the layershell set windowType

Issue: linuxdeepin/developer-center#9996
Issue: linuxdeepin/developer-center#9998
Issue: linuxdeepin/developer-center#9992
  • Loading branch information
xionglinlin authored and deepin-bot[bot] committed Aug 2, 2024
1 parent 9bd8b60 commit 1a764e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions qml/Main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,10 @@ QtObject {
DLayerShellWindow.keyboardInteractivity: DLayerShellWindow.KeyboardInteractivityOnDemand

// visibility: Window.FullScreen
flags: {
if (DebugHelper.useRegularWindow) return Qt.Window
return (Qt.FramelessWindowHint | Qt.Tool)
Component.onCompleted: {
if (DebugHelper.useRegularWindow) {
flags = Qt.Window
}
}

DWindow.enabled: !DebugHelper.useRegularWindow
Expand Down

0 comments on commit 1a764e5

Please sign in to comment.