Indicate this is a dialog and not a regular window
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 6 May 2020 13:50:28 +0000 (15:50 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Thu, 7 May 2020 07:39:08 +0000 (09:39 +0200)
commit3b6ab2fa5ae2a2ae75c9eab03a86520b6abf496e
tree43f7506a1d97289dd420b030390a5479a8c0e700
parentf47b68b96ce258a854063c35335cae9a0ffbde88
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>
src/gui/tray/Window.qml