MockKwinClient: make moveable and resizable dependent on fullscreen
This commit is contained in:
@@ -9,8 +9,6 @@ class MockKwinClient {
|
||||
public readonly transient: boolean;
|
||||
public readonly move: boolean = false;
|
||||
public resize: boolean = false;
|
||||
public readonly moveable: boolean = true;
|
||||
public readonly resizeable: boolean = true;
|
||||
public readonly fullScreenable: boolean = true;
|
||||
public readonly maximizable: boolean = true;
|
||||
public readonly output: Output = { __brand: "Output" };
|
||||
@@ -96,6 +94,14 @@ class MockKwinClient {
|
||||
}
|
||||
}
|
||||
|
||||
public get moveable() {
|
||||
return !this._fullScreen;
|
||||
}
|
||||
|
||||
public get resizeable() {
|
||||
return !this._fullScreen;
|
||||
}
|
||||
|
||||
public get fullScreen() {
|
||||
return this._fullScreen;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user