Bug fixes for checking active screen for max windows

This commit is contained in:
Digital Artifex
2025-08-10 20:59:48 -04:00
parent 49ae3bb429
commit 70e9cc0b5a
6 changed files with 62 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ import com.github.digitalartifex.komplex 1.0 as Komplex
Item
{
property var screenGeometry
property real pixelRatio: 1 //This will (hopefully) be set to PlasmaCore.Units.devicePixelRatio in onCompleted
property vector3d iResolution: Qt.vector3d(wallpaper.configuration.resolution_x ? wallpaper.configuration.resolution_x : 1920, wallpaper.configuration.resolution_y ? wallpaper.configuration.resolution_y : 1080, 1)//width, height, pixel aspect ratio
property real iTime: 0 //used by most motion shaders
@@ -70,7 +71,7 @@ Item
WindowModel
{
id: windowModel
screenGeometry: mainItem.parent.screenGeometry
screenGeometry: mainItem.screenGeometry
}
Rectangle