refactor: remove X11 only fullscreen event

This commit is contained in:
Mikhail Zolotukhin 2022-03-25 21:52:04 +03:00 committed by Genda
parent a1d9c3750d
commit 6aa60fabce
2 changed files with 0 additions and 16 deletions

View File

@ -231,17 +231,6 @@ export class DriverImpl implements Driver {
}
};
const onClientFullScreenSet = (
client: KWin.Client,
fullScreen: boolean,
user: boolean
): void => {
this.controller.onWindowChanged(
this.windowMap.get(client),
`fullscreen=${fullScreen} user=${user}`
);
};
const onClientMinimized = (client: KWin.Client): void => {
if (this.config.preventMinimize) {
client.minimized = false;
@ -276,10 +265,6 @@ export class DriverImpl implements Driver {
this.connect(this.kwinApi.workspace.clientAdded, onClientAdded);
this.connect(this.kwinApi.workspace.clientRemoved, onClientRemoved);
this.connect(this.kwinApi.workspace.clientMaximizeSet, onClientMaximizeSet);
this.connect(
this.kwinApi.workspace.clientFullScreenSet,
onClientFullScreenSet
);
this.connect(this.kwinApi.workspace.clientMinimized, onClientMinimized);
this.connect(this.kwinApi.workspace.clientUnminimized, onClientUnminimized);
}

View File

@ -56,7 +56,6 @@ declare namespace KWin {
activityAdded: QSignal;
activityRemoved: QSignal;
clientAdded: QSignal;
clientFullScreenSet: QSignal;
clientMaximizeSet: QSignal;
clientMinimized: QSignal;
clientRemoved: QSignal;