mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Indicate this is a dialog and not a regular window
This is necessary with some window managers which would otherwise consider they can reposition and resize the tray window as they wish (yes, even though the user can't do it directly). This is for instance the case if you use the tiling mode scripts of KWin. It automatically ignores dialogs but might force windows to be fullscreen (which would badly break the layout in our case). Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
parent
f47b68b96c
commit
3b6ab2fa5a
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Window {
|
|||
width: Style.trayWindowWidth
|
||||
height: Style.trayWindowHeight
|
||||
color: "transparent"
|
||||
flags: Qt.FramelessWindowHint
|
||||
flags: Qt.Dialog | Qt.FramelessWindowHint
|
||||
|
||||
// Close tray window when focus is lost (e.g. click somewhere else on the screen)
|
||||
onActiveChanged: {
|
||||
|
|
Loading…
Reference in a new issue