Introduce a screenRect as coordinate space
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 20 May 2020 15:59:40 +0000 (17:59 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Mon, 15 Jun 2020 12:32:25 +0000 (12:32 +0000)
commitaa90237e9439650ff802b75a623a2e781313e91b
tree272aa63856cf80d04e09255d20a1486e3e08d99c
parent65e8f33ccf3d82e00a37d513dd6cdfc835bc6d08
Introduce a screenRect as coordinate space

The top left corner of that screenRect is (0,0) or based on
(virtualX,virtualY) depending on the platform. This leads to easier
reduction in code duplication.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/tray/Window.qml