Open joeky888 opened 4 years ago
OK, I'll check the problem here.
m_model->is3DWm(): false show the previous state of DWM, not the changed one . is3DWM is if the wm has opened the special effects, if opened the effects, it is true, else ,it is false
And the wmname, emm ,it is from the dbus, and ... it is the tears of histroy
The command
wmctrl -m
gave meand the command
QT_QPA_PLATFORMTHEME=deepin dde-control-center -s
gave mewhenever I try to enable the "Window Effect" option.
So If I understand correctly, I guess the function
is3DWM()
in https://github.com/linuxdeepin/dde-daemon/blob/master/dock/dock_manager_init.goShould include deepin-kwin.