kwin.d.ts: mark cursorPos and minSize as immutable

This commit is contained in:
Peter Fajdiga
2024-04-05 14:48:56 +02:00
parent 7299341608
commit 7fd45eed8f

View File

@@ -9,7 +9,7 @@ declare const Workspace: {
readonly currentActivity: string;
readonly activeScreen: Output;
readonly windows: KwinClient[];
readonly cursorPos: QmlPoint;
readonly cursorPos: Readonly<QmlPoint>;
activeWindow: KwinClient;
@@ -49,7 +49,7 @@ type Output = unknown;
interface KwinClient {
readonly shadeable: boolean;
readonly caption: string;
readonly minSize: QmlSize;
readonly minSize: Readonly<QmlSize>;
readonly transient: boolean;
readonly transientFor: KwinClient;
readonly clientGeometry: Readonly<QmlRect>;