mirror of
https://github.com/2e3s/awatcher.git
synced 2025-06-06 19:45:30 +00:00
Support kwin6 updated APIs
This commit is contained in:
parent
87d046f46d
commit
7f9f60348c
@ -12,7 +12,7 @@ function send(client) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace.clientActivated.connect(function(client){
|
workspace.windowActivated.connect(function(client){
|
||||||
if (client === null) {
|
if (client === null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@ impl KWinScript {
|
|||||||
self.dbus_connection
|
self.dbus_connection
|
||||||
.call_method(
|
.call_method(
|
||||||
Some("org.kde.KWin"),
|
Some("org.kde.KWin"),
|
||||||
format!("/{script_number}"),
|
format!("/Scripting/Script{script_number}"),
|
||||||
Some("org.kde.kwin.Script"),
|
Some("org.kde.kwin.Script"),
|
||||||
"run",
|
"run",
|
||||||
&(),
|
&(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user