mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 09:23:03 +00:00
fix: fix multitasking no response sometime
fix multitasking no reponse after click sometime log:
This commit is contained in:
parent
fe75a3af39
commit
89cd24ad72
@ -72,7 +72,13 @@ void MultitaskingPlugin::init(PluginProxyInterface *proxyInter)
|
|||||||
const QString MultitaskingPlugin::itemCommand(const QString &itemKey)
|
const QString MultitaskingPlugin::itemCommand(const QString &itemKey)
|
||||||
{
|
{
|
||||||
if (itemKey == PLUGIN_KEY)
|
if (itemKey == PLUGIN_KEY)
|
||||||
return "dbus-send --session --dest=com.deepin.wm --print-reply /com/deepin/wm com.deepin.wm.PerformAction int32:1";
|
DDBusSender()
|
||||||
|
.service("com.deepin.wm")
|
||||||
|
.interface("com.deepin.wm")
|
||||||
|
.path("/com/deepin/wm")
|
||||||
|
.method(QString("PerformAction"))
|
||||||
|
.arg(1)
|
||||||
|
.call();
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user